author | andyq <andyq> | 2002-10-25 15:11:48 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-10-25 15:11:48 (UTC) |
commit | 9086a63d5c27531c2014bade180b1cfd01663e2b (patch) (unidiff) | |
tree | e1451a11a7d9a9d4aeb9ea8336951f4b7ff74d2d | |
parent | f4007b261a7a4dc9672a1806be50ea16ccfc84f1 (diff) | |
download | opie-9086a63d5c27531c2014bade180b1cfd01663e2b.zip opie-9086a63d5c27531c2014bade180b1cfd01663e2b.tar.gz opie-9086a63d5c27531c2014bade180b1cfd01663e2b.tar.bz2 |
Fixed bug with flags not being stored
-rw-r--r-- | noncore/settings/aqpkg/installdlgimpl.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/noncore/settings/aqpkg/installdlgimpl.cpp b/noncore/settings/aqpkg/installdlgimpl.cpp index 83f983a..2ea70e0 100644 --- a/noncore/settings/aqpkg/installdlgimpl.cpp +++ b/noncore/settings/aqpkg/installdlgimpl.cpp | |||
@@ -38,26 +38,25 @@ InstallDlgImpl::InstallDlgImpl( vector<InstallData> &packageList, DataManager *d | |||
38 | pIpkg = 0; | 38 | pIpkg = 0; |
39 | upgradePackages = false; | 39 | upgradePackages = false; |
40 | dataMgr = dataManager; | 40 | dataMgr = dataManager; |
41 | vector<Destination>::iterator dit; | 41 | vector<Destination>::iterator dit; |
42 | 42 | ||
43 | QString defaultDest = "root"; | 43 | QString defaultDest = "root"; |
44 | #ifdef QWS | 44 | #ifdef QWS |
45 | Config cfg( "aqpkg" ); | 45 | Config cfg( "aqpkg" ); |
46 | cfg.setGroup( "settings" ); | 46 | cfg.setGroup( "settings" ); |
47 | defaultDest = cfg.readEntry( "dest", "root" ); | 47 | defaultDest = cfg.readEntry( "dest", "root" ); |
48 | 48 | ||
49 | // 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) |
50 | // flags = cfg.readNumEntry( "installFlags", MAKE_LINKS ); | 50 | flags = cfg.readNumEntry( "installFlags", 0 ); |
51 | flags = 0; | ||
52 | #else | 51 | #else |
53 | flags = 0; | 52 | flags = 0; |
54 | #endif | 53 | #endif |
55 | 54 | ||
56 | // Output text is read only | 55 | // Output text is read only |
57 | output->setReadOnly( true ); | 56 | output->setReadOnly( true ); |
58 | QFont f( "helvetica" ); | 57 | QFont f( "helvetica" ); |
59 | f.setPointSize( 10 ); | 58 | f.setPointSize( 10 ); |
60 | output->setFont( f ); | 59 | output->setFont( f ); |
61 | 60 | ||
62 | 61 | ||
63 | // setup destination data | 62 | // setup destination data |