summaryrefslogtreecommitdiff
path: root/noncore/settings/aqpkg/installdlgimpl.cpp
authorandyq <andyq>2002-12-20 13:11:54 (UTC)
committer andyq <andyq>2002-12-20 13:11:54 (UTC)
commit3bdaf9ff6bea6d7263bebff83dcdc05d4506d442 (patch) (unidiff)
tree9716e4fcd62d371a1955759287a972bee8f77e48 /noncore/settings/aqpkg/installdlgimpl.cpp
parent48bab4b65417d12dac1e2ef61f9b059fc5dabdcc (diff)
downloadopie-3bdaf9ff6bea6d7263bebff83dcdc05d4506d442.zip
opie-3bdaf9ff6bea6d7263bebff83dcdc05d4506d442.tar.gz
opie-3bdaf9ff6bea6d7263bebff83dcdc05d4506d442.tar.bz2
Refreshes available space on current destination after packages finished installing
Diffstat (limited to 'noncore/settings/aqpkg/installdlgimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/installdlgimpl.cpp2
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
253void InstallDlgImpl :: displayText(const QString &text ) 255void 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
261void InstallDlgImpl :: displayAvailableSpace( const QString &text ) 263void InstallDlgImpl :: displayAvailableSpace( const QString &text )