summaryrefslogtreecommitdiffabout
path: root/microkde
Side-by-side diff
Diffstat (limited to 'microkde') (more/less context) (show whitespace changes)
-rw-r--r--microkde/kdecore/kstandarddirs.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/microkde/kdecore/kstandarddirs.cpp b/microkde/kdecore/kstandarddirs.cpp
index 500426b..7f2a326 100644
--- a/microkde/kdecore/kstandarddirs.cpp
+++ b/microkde/kdecore/kstandarddirs.cpp
@@ -1241,3 +1241,14 @@ void KStandardDirs::addKDEDefaults()
#ifndef DESKTOP_VERSION
- kdedirList.append(readEnvPath("QPEDIR" ));
+ QString tmp = readEnvPath("QPEDIR");
+ if (!tmp.isEmpty())
+ kdedirList.append(tmp);
+
+ tmp = readEnvPath("QTDIR");
+ if (!tmp.isEmpty())
+ kdedirList.append(tmp);
+
+ tmp = readEnvPath("OPIEDIR");
+ if (!tmp.isEmpty())
+ kdedirList.append(tmp);
+
#endif