author | zcarsten <zcarsten> | 2003-08-06 20:59:20 (UTC) |
---|---|---|
committer | zcarsten <zcarsten> | 2003-08-06 20:59:20 (UTC) |
commit | 557e7a9f407e77a3f5bcfda5de9a8408379165ac (patch) (unidiff) | |
tree | 4ad5296b9f4858b3e0791c321116449d7c99ef00 | |
parent | e14f10f07d8477ee49cd487587732e27a3307878 (diff) | |
download | opie-557e7a9f407e77a3f5bcfda5de9a8408379165ac.zip opie-557e7a9f407e77a3f5bcfda5de9a8408379165ac.tar.gz opie-557e7a9f407e77a3f5bcfda5de9a8408379165ac.tar.bz2 |
bug fixed: icon handling
-rw-r--r-- | noncore/apps/zsafe/zsafe.cpp | 4 |
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 | |||
@@ -2810,6 +2810,8 @@ void ZSafe::setCategoryDialogFields(CategoryDialog *dialog) | |||
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 | { |
@@ -2875,6 +2877,8 @@ void ZSafe::setCategoryDialogFields(CategoryDialog *dialog, QString category) | |||
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); |