author | ulf69 <ulf69> | 2004-08-05 21:44:59 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-08-05 21:44:59 (UTC) |
commit | bb1dd236b41cbd5cc4aed3b320801aa07974122d (patch) (side-by-side diff) | |
tree | 4d07c4fc759d2926c8a48e49af59448d46a35a7b /microkde | |
parent | 6ee7d4f5119837f89ec534c8c5c73845d521e135 (diff) | |
download | kdepimpi-bb1dd236b41cbd5cc4aed3b320801aa07974122d.zip kdepimpi-bb1dd236b41cbd5cc4aed3b320801aa07974122d.tar.gz kdepimpi-bb1dd236b41cbd5cc4aed3b320801aa07974122d.tar.bz2 |
additional change for the tmp resourcetype
-rw-r--r-- | microkde/kdecore/kstandarddirs.cpp | 3 |
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 @@ -981,24 +981,27 @@ QString KStandardDirs::kde_default(const char *type) { if (!strcmp(type, "lib")) return "lib/"; if (!strcmp(type, "module")) return "lib/kde3/"; if (!strcmp(type, "qtplugins")) return "lib/kde3/plugins"; if (!strcmp(type, "xdgdata-apps")) return "applications/"; if (!strcmp(type, "xdgdata-dirs")) 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; } QString KStandardDirs::saveLocation(const char *type, const QString& suffix, bool create) const { //qDebug("KStandardDirs::saveLocation called %s %s", type,suffix.latin1() ); //return ""; checkConfig(); |