COPKGManager: remember for last selected update directory

Use g_settings to handle local package directory.
Extra settings handler via gui for this directory is not intended. Default update directory
is the same like in flash settings.
This commit is contained in:
2014-11-28 09:19:38 +01:00
parent 5eff6a4fb9
commit 1606cf8a30
4 changed files with 12 additions and 5 deletions

View File

@@ -57,7 +57,7 @@ class COPKGManager : public CMenuTarget
bool installed;
bool expert_mode;
int menu_offset;
std::string local_dir;
std::string *local_dir;
int execCmd(const char* cmdstr, bool verbose = false, bool acknowledge = false);
int execCmd(std::string cmdstr, bool verbose = false, bool acknowledge = false) {