summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--microkde/kdecore/kstandarddirs.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/microkde/kdecore/kstandarddirs.cpp b/microkde/kdecore/kstandarddirs.cpp
index 5abe05c..1a1e027 100644
--- a/microkde/kdecore/kstandarddirs.cpp
+++ b/microkde/kdecore/kstandarddirs.cpp
@@ -45,2 +45,3 @@
#include <qstringlist.h>
+#include <qpe/qpeapplication.h>
@@ -352,6 +353,7 @@ QString KStandardDirs::findResourceDir( const char *type,
- for (QStringList::ConstIterator it = candidates.begin();
- it != candidates.end(); it++)
+ for (QStringList::ConstIterator it = candidates.begin(); it != candidates.end(); it++)
+ {
if (exists(*it + filename))
return *it;
+ }
@@ -399,2 +401,3 @@ static void lookupDirectory(const QString& path, const QString &relPart,
QDir dp(QFile::encodeName(path));
+
if (!dp.exists())
@@ -1223,2 +1226,4 @@ void KStandardDirs::addKDEDefaults()
//US kdedirList.append(KDEDIR);
+//US for embedded, add qtopia dir as kdedir
+ kdedirList.append(QPEApplication::qpeDir());