summaryrefslogtreecommitdiff
authorzcarsten <zcarsten>2003-08-06 20:59:20 (UTC)
committer zcarsten <zcarsten>2003-08-06 20:59:20 (UTC)
commit557e7a9f407e77a3f5bcfda5de9a8408379165ac (patch) (side-by-side diff)
tree4ad5296b9f4858b3e0791c321116449d7c99ef00
parente14f10f07d8477ee49cd487587732e27a3307878 (diff)
downloadopie-557e7a9f407e77a3f5bcfda5de9a8408379165ac.zip
opie-557e7a9f407e77a3f5bcfda5de9a8408379165ac.tar.gz
opie-557e7a9f407e77a3f5bcfda5de9a8408379165ac.tar.bz2
bug fixed: icon handling
Diffstat (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
@@ -2810,6 +2810,8 @@ void ZSafe::setCategoryDialogFields(CategoryDialog *dialog)
{
icon = cat->getIconName();
}
+ else
+ icon = conf->readEntry(APP_KEY+selectedItem->text(0));
}
else
{
@@ -2875,6 +2877,8 @@ void ZSafe::setCategoryDialogFields(CategoryDialog *dialog, QString category)
{
icon = cat->getIconName();
}
+ else
+ icon = conf->readEntry(APP_KEY+category);
#ifdef DESKTOP
QDir d(iconPath);