summaryrefslogtreecommitdiffabout
authorulf69 <ulf69>2004-08-05 21:44:59 (UTC)
committer ulf69 <ulf69>2004-08-05 21:44:59 (UTC)
commitbb1dd236b41cbd5cc4aed3b320801aa07974122d (patch) (side-by-side diff)
tree4d07c4fc759d2926c8a48e49af59448d46a35a7b
parent6ee7d4f5119837f89ec534c8c5c73845d521e135 (diff)
downloadkdepimpi-bb1dd236b41cbd5cc4aed3b320801aa07974122d.zip
kdepimpi-bb1dd236b41cbd5cc4aed3b320801aa07974122d.tar.gz
kdepimpi-bb1dd236b41cbd5cc4aed3b320801aa07974122d.tar.bz2
additional change for the tmp resourcetype
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--microkde/kdecore/kstandarddirs.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/microkde/kdecore/kstandarddirs.cpp b/microkde/kdecore/kstandarddirs.cpp
index 75205d6..500426b 100644
--- a/microkde/kdecore/kstandarddirs.cpp
+++ b/microkde/kdecore/kstandarddirs.cpp
@@ -990,6 +990,9 @@ QString KStandardDirs::kde_default(const char *type) {
return "desktop-directories/";
if (!strcmp(type, "xdgconf-menu"))
return "menus/";
+ if (!strcmp(type, "tmp"))
+ return "tmp/";
+
qFatal("unknown resource type %s", type);
return QString::null;
}