author | andyq <andyq> | 2002-10-22 19:28:22 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-10-22 19:28:22 (UTC) |
commit | edcbb8b9bae3db2fae18ec6cd9efd202af4f913c (patch) (unidiff) | |
tree | 7a1671b8b8e469a21841348732c6548705f2e5d7 /noncore/settings | |
parent | 85f0e72ed11d2c065f46ac0db99483c4025fab8e (diff) | |
download | opie-edcbb8b9bae3db2fae18ec6cd9efd202af4f913c.zip opie-edcbb8b9bae3db2fae18ec6cd9efd202af4f913c.tar.gz opie-edcbb8b9bae3db2fae18ec6cd9efd202af4f913c.tar.bz2 |
Set pIpkg to 0 in constructor
-rw-r--r-- | noncore/settings/aqpkg/installdlgimpl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/settings/aqpkg/installdlgimpl.cpp b/noncore/settings/aqpkg/installdlgimpl.cpp index a924daf..f5aef94 100644 --- a/noncore/settings/aqpkg/installdlgimpl.cpp +++ b/noncore/settings/aqpkg/installdlgimpl.cpp | |||
@@ -26,24 +26,25 @@ | |||
26 | #include <qpushbutton.h> | 26 | #include <qpushbutton.h> |
27 | 27 | ||
28 | 28 | ||
29 | #include "datamgr.h" | 29 | #include "datamgr.h" |
30 | #include "instoptionsimpl.h" | 30 | #include "instoptionsimpl.h" |
31 | #include "destination.h" | 31 | #include "destination.h" |
32 | #include "installdlgimpl.h" | 32 | #include "installdlgimpl.h" |
33 | #include "global.h" | 33 | #include "global.h" |
34 | 34 | ||
35 | InstallDlgImpl::InstallDlgImpl( vector<InstallData> &packageList, DataManager *dataManager, QWidget * parent, const char* name, bool modal, WFlags fl ) | 35 | InstallDlgImpl::InstallDlgImpl( vector<InstallData> &packageList, DataManager *dataManager, QWidget * parent, const char* name, bool modal, WFlags fl ) |
36 | : InstallDlg( parent, name, modal, fl ) | 36 | : InstallDlg( parent, name, modal, fl ) |
37 | { | 37 | { |
38 | pIpkg = 0; | ||
38 | upgradePackages = false; | 39 | upgradePackages = false; |
39 | dataMgr = dataManager; | 40 | dataMgr = dataManager; |
40 | vector<Destination>::iterator dit; | 41 | vector<Destination>::iterator dit; |
41 | 42 | ||
42 | QString defaultDest = "root"; | 43 | QString defaultDest = "root"; |
43 | #ifdef QWS | 44 | #ifdef QWS |
44 | Config cfg( "aqpkg" ); | 45 | Config cfg( "aqpkg" ); |
45 | cfg.setGroup( "settings" ); | 46 | cfg.setGroup( "settings" ); |
46 | defaultDest = cfg.readEntry( "dest", "root" ); | 47 | defaultDest = cfg.readEntry( "dest", "root" ); |
47 | 48 | ||
48 | // Grab flags - Turn MAKE_LINKS on by default (if no flags found) | 49 | // Grab flags - Turn MAKE_LINKS on by default (if no flags found) |
49 | // flags = cfg.readNumEntry( "installFlags", MAKE_LINKS ); | 50 | // flags = cfg.readNumEntry( "installFlags", MAKE_LINKS ); |