author | andyq <andyq> | 2002-10-25 15:11:48 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-10-25 15:11:48 (UTC) |
commit | 9086a63d5c27531c2014bade180b1cfd01663e2b (patch) (side-by-side diff) | |
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 @@ -34,34 +34,33 @@ InstallDlgImpl::InstallDlgImpl( vector<InstallData> &packageList, DataManager *dataManager, QWidget * parent, const char* name, bool modal, WFlags fl ) : InstallDlg( parent, name, modal, fl ) { pIpkg = 0; upgradePackages = false; dataMgr = dataManager; vector<Destination>::iterator dit; QString defaultDest = "root"; #ifdef QWS Config cfg( "aqpkg" ); cfg.setGroup( "settings" ); defaultDest = cfg.readEntry( "dest", "root" ); // Grab flags - Turn MAKE_LINKS on by default (if no flags found) -// flags = cfg.readNumEntry( "installFlags", MAKE_LINKS ); - flags = 0; + flags = cfg.readNumEntry( "installFlags", 0 ); #else flags = 0; #endif // Output text is read only output->setReadOnly( true ); QFont f( "helvetica" ); f.setPointSize( 10 ); output->setFont( f ); // setup destination data int defIndex = 0; int i; for ( i = 0 , dit = dataMgr->getDestinationList().begin() ; dit != dataMgr->getDestinationList().end() ; ++dit, ++i ) { |