summaryrefslogtreecommitdiff
path: root/noncore/apps/zsafe
authorzcarsten <zcarsten>2003-08-06 20:59:20 (UTC)
committer zcarsten <zcarsten>2003-08-06 20:59:20 (UTC)
commit557e7a9f407e77a3f5bcfda5de9a8408379165ac (patch) (unidiff)
tree4ad5296b9f4858b3e0791c321116449d7c99ef00 /noncore/apps/zsafe
parente14f10f07d8477ee49cd487587732e27a3307878 (diff)
downloadopie-557e7a9f407e77a3f5bcfda5de9a8408379165ac.zip
opie-557e7a9f407e77a3f5bcfda5de9a8408379165ac.tar.gz
opie-557e7a9f407e77a3f5bcfda5de9a8408379165ac.tar.bz2
bug fixed: icon handling
Diffstat (limited to 'noncore/apps/zsafe') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/zsafe/zsafe.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/apps/zsafe/zsafe.cpp b/noncore/apps/zsafe/zsafe.cpp
index e86b3d2..9341425 100644
--- a/noncore/apps/zsafe/zsafe.cpp
+++ b/noncore/apps/zsafe/zsafe.cpp
@@ -2809,8 +2809,10 @@ void ZSafe::setCategoryDialogFields(CategoryDialog *dialog)
2809 if (cat) 2809 if (cat)
2810 { 2810 {
2811 icon = cat->getIconName(); 2811 icon = cat->getIconName();
2812 } 2812 }
2813 else
2814 icon = conf->readEntry(APP_KEY+selectedItem->text(0));
2813 } 2815 }
2814 else 2816 else
2815 { 2817 {
2816 dialog->Field1->setText(tr("Name")); 2818 dialog->Field1->setText(tr("Name"));
@@ -2874,8 +2876,10 @@ void ZSafe::setCategoryDialogFields(CategoryDialog *dialog, QString category)
2874 if (cat) 2876 if (cat)
2875 { 2877 {
2876 icon = cat->getIconName(); 2878 icon = cat->getIconName();
2877 } 2879 }
2880 else
2881 icon = conf->readEntry(APP_KEY+category);
2878 2882
2879#ifdef DESKTOP 2883#ifdef DESKTOP
2880 QDir d(iconPath); 2884 QDir d(iconPath);
2881#else 2885#else