summaryrefslogtreecommitdiff
path: root/noncore/settings/aqpkg/installdlgimpl.cpp
Side-by-side diff
Diffstat (limited to 'noncore/settings/aqpkg/installdlgimpl.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/aqpkg/installdlgimpl.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/noncore/settings/aqpkg/installdlgimpl.cpp b/noncore/settings/aqpkg/installdlgimpl.cpp
index db9a259..485fe3d 100644
--- a/noncore/settings/aqpkg/installdlgimpl.cpp
+++ b/noncore/settings/aqpkg/installdlgimpl.cpp
@@ -19,2 +19,3 @@
#include <qpe/config.h>
+#include <qpe/qpeapplication.h>
#endif
@@ -130,11 +131,3 @@ void InstallDlgImpl :: optionsSelected()
// set options selected from dialog
- flags = 0;
- if ( opt.forceDepends->isChecked() )
- flags |= FORCE_DEPENDS;
- if ( opt.forceReinstall->isChecked() )
- flags |= FORCE_REINSTALL;
- if ( opt.forceRemove->isChecked() )
- flags |= FORCE_REMOVE;
- if ( opt.forceOverwrite->isChecked() )
- flags |= FORCE_OVERWRITE;
+ flags = opt.getFlags();
@@ -149,2 +142,3 @@ void InstallDlgImpl :: installSelected()
{
+
if ( btnInstall->text() == "Close" )
@@ -155,2 +149,4 @@ void InstallDlgImpl :: installSelected()
+ // Disable buttons
+ btnOptions->setEnabled( false );
btnInstall->setEnabled( false );
@@ -232,2 +228,3 @@ void InstallDlgImpl :: installSelected()
+ btnOptions->setEnabled( true );
btnInstall->setEnabled( true );