summaryrefslogtreecommitdiff
authorandyq <andyq>2002-12-27 15:02:07 (UTC)
committer andyq <andyq>2002-12-27 15:02:07 (UTC)
commitc1dcf67a3c213aa062107c5c3de8413b66ac4b29 (patch) (unidiff)
tree57b3f1972f6f5a105baf25b0b86e7da540fdf83f
parent349cf38c38899d4693e83061d52c847e032335db (diff)
downloadopie-c1dcf67a3c213aa062107c5c3de8413b66ac4b29.zip
opie-c1dcf67a3c213aa062107c5c3de8413b66ac4b29.tar.gz
opie-c1dcf67a3c213aa062107c5c3de8413b66ac4b29.tar.bz2
Fixed bug where refresh lists would crash
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/installdlgimpl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/installdlgimpl.cpp b/noncore/settings/aqpkg/installdlgimpl.cpp
index bd07828..bf2c482 100644
--- a/noncore/settings/aqpkg/installdlgimpl.cpp
+++ b/noncore/settings/aqpkg/installdlgimpl.cpp
@@ -247,9 +247,10 @@ void InstallDlgImpl :: installSelected()
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 250
251 displayAvailableSpace( destination->currentText() ); 251 if ( destination->currentText() != 0 && destination->currentText() != "" )
252 displayAvailableSpace( destination->currentText() );
252} 253}
253 254
254 255
255void InstallDlgImpl :: displayText(const QString &text ) 256void InstallDlgImpl :: displayText(const QString &text )