-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 | |||
@@ -34,34 +34,33 @@ | |||
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 | 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 |
64 | int defIndex = 0; | 63 | int defIndex = 0; |
65 | int i; | 64 | int i; |
66 | for ( i = 0 , dit = dataMgr->getDestinationList().begin() ; dit != dataMgr->getDestinationList().end() ; ++dit, ++i ) | 65 | for ( i = 0 , dit = dataMgr->getDestinationList().begin() ; dit != dataMgr->getDestinationList().end() ; ++dit, ++i ) |
67 | { | 66 | { |