Diffstat (limited to 'noncore/settings/aqpkg/installdlgimpl.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/installdlgimpl.cpp | 15 |
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 @@ | |||
19 | #include <qpe/config.h> | 19 | #include <qpe/config.h> |
20 | #include <qpe/qpeapplication.h> | ||
20 | #endif | 21 | #endif |
@@ -130,11 +131,3 @@ void InstallDlgImpl :: optionsSelected() | |||
130 | // set options selected from dialog | 131 | // set options selected from dialog |
131 | flags = 0; | 132 | flags = opt.getFlags(); |
132 | if ( opt.forceDepends->isChecked() ) | ||
133 | flags |= FORCE_DEPENDS; | ||
134 | if ( opt.forceReinstall->isChecked() ) | ||
135 | flags |= FORCE_REINSTALL; | ||
136 | if ( opt.forceRemove->isChecked() ) | ||
137 | flags |= FORCE_REMOVE; | ||
138 | if ( opt.forceOverwrite->isChecked() ) | ||
139 | flags |= FORCE_OVERWRITE; | ||
140 | 133 | ||
@@ -149,2 +142,3 @@ void InstallDlgImpl :: installSelected() | |||
149 | { | 142 | { |
143 | |||
150 | if ( btnInstall->text() == "Close" ) | 144 | if ( btnInstall->text() == "Close" ) |
@@ -155,2 +149,4 @@ void InstallDlgImpl :: installSelected() | |||
155 | 149 | ||
150 | // Disable buttons | ||
151 | btnOptions->setEnabled( false ); | ||
156 | btnInstall->setEnabled( false ); | 152 | btnInstall->setEnabled( false ); |
@@ -232,2 +228,3 @@ void InstallDlgImpl :: installSelected() | |||
232 | 228 | ||
229 | btnOptions->setEnabled( true ); | ||
233 | btnInstall->setEnabled( true ); | 230 | btnInstall->setEnabled( true ); |