-rw-r--r-- | noncore/settings/aqpkg/installdlgimpl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/settings/aqpkg/installdlgimpl.cpp b/noncore/settings/aqpkg/installdlgimpl.cpp index 80c06ba..bd07828 100644 --- a/noncore/settings/aqpkg/installdlgimpl.cpp +++ b/noncore/settings/aqpkg/installdlgimpl.cpp | |||
@@ -238,24 +238,26 @@ void InstallDlgImpl :: installSelected() | |||
238 | if ( it->destination->linkToRoot() && it->recreateLinks ) | 238 | if ( it->destination->linkToRoot() && it->recreateLinks ) |
239 | tmpFlags |= MAKE_LINKS; | 239 | tmpFlags |= MAKE_LINKS; |
240 | pIpkg->setFlags( tmpFlags ); | 240 | pIpkg->setFlags( tmpFlags ); |
241 | pIpkg->runIpkg(); | 241 | pIpkg->runIpkg(); |
242 | } | 242 | } |
243 | 243 | ||
244 | delete pIpkg; | 244 | delete pIpkg; |
245 | } | 245 | } |
246 | 246 | ||
247 | btnOptions->setEnabled( true ); | 247 | btnOptions->setEnabled( true ); |
248 | // btnInstall->setEnabled( true ); | 248 | // btnInstall->setEnabled( true ); |
249 | btnInstall->setText( tr( "Close" ) ); | 249 | btnInstall->setText( tr( "Close" ) ); |
250 | |||
251 | displayAvailableSpace( destination->currentText() ); | ||
250 | } | 252 | } |
251 | 253 | ||
252 | 254 | ||
253 | void InstallDlgImpl :: displayText(const QString &text ) | 255 | void InstallDlgImpl :: displayText(const QString &text ) |
254 | { | 256 | { |
255 | QString t = output->text() + "\n" + text; | 257 | QString t = output->text() + "\n" + text; |
256 | output->setText( t ); | 258 | output->setText( t ); |
257 | output->setCursorPosition( output->numLines(), 0 ); | 259 | output->setCursorPosition( output->numLines(), 0 ); |
258 | } | 260 | } |
259 | 261 | ||
260 | 262 | ||
261 | void InstallDlgImpl :: displayAvailableSpace( const QString &text ) | 263 | void InstallDlgImpl :: displayAvailableSpace( const QString &text ) |