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.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 1606cf8a30
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-28 (Fri, 28 Nov 2014)



------------------
This commit was generated by Migit
This commit is contained in:
2014-11-28 09:19:38 +01:00
parent 3572fc60e9
commit 1f005ea369
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) {