summaryrefslogtreecommitdiff
authorbenmeyer <benmeyer>2002-07-26 18:47:13 (UTC)
committer benmeyer <benmeyer>2002-07-26 18:47:13 (UTC)
commit1658b161a890ee69aafac084e04776759932dbce (patch) (unidiff)
treef4330f580496467a01eb6a487069fe235060a453
parent630a8f6e4ff5eddaee0089e383c42cc198c68ced (diff)
downloadopie-1658b161a890ee69aafac084e04776759932dbce.zip
opie-1658b161a890ee69aafac084e04776759932dbce.tar.gz
opie-1658b161a890ee69aafac084e04776759932dbce.tar.bz2
bug fix
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/tabmanager/tabmanager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/settings/tabmanager/tabmanager.cpp b/noncore/settings/tabmanager/tabmanager.cpp
index 5f0899c..c9d7aed 100644
--- a/noncore/settings/tabmanager/tabmanager.cpp
+++ b/noncore/settings/tabmanager/tabmanager.cpp
@@ -289,6 +289,9 @@ void TabManager::editItem( QListViewItem * item){
289 } 289 }
290 if(pixmap != -1) 290 if(pixmap != -1)
291 application->iconLineEdit->setCurrentItem(pixmap); 291 application->iconLineEdit->setCurrentItem(pixmap);
292 else if(pixmapText.isEmpty()){
293 application->iconLineEdit->setCurrentItem(0);
294 }
292 else{ 295 else{
293 QPixmap imageOfFile(Resource::loadPixmap(pixmapText)); 296 QPixmap imageOfFile(Resource::loadPixmap(pixmapText));
294 QImage foo = imageOfFile.convertToImage(); 297 QImage foo = imageOfFile.convertToImage();