summaryrefslogtreecommitdiff
authoreilers <eilers>2004-01-08 17:43:39 (UTC)
committer eilers <eilers>2004-01-08 17:43:39 (UTC)
commitdc350f3bc1744a0bbfc230050d0d8c2817878dbb (patch) (side-by-side diff)
tree7356378f030e0f5b160f5fec244da34ec312c463
parenteeb69efb4e0639429e5f6fd15e65b1b6fbaa5c35 (diff)
downloadopie-dc350f3bc1744a0bbfc230050d0d8c2817878dbb.zip
opie-dc350f3bc1744a0bbfc230050d0d8c2817878dbb.tar.gz
opie-dc350f3bc1744a0bbfc230050d0d8c2817878dbb.tar.bz2
Forgotten to commit the patch for Mac OSX..
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/today.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp
index 2e7e1a8..139c91b 100644
--- a/core/pim/today/today.cpp
+++ b/core/pim/today/today.cpp
@@ -186,13 +186,18 @@ void Today::loadPlugins() {
delete (*tit).library;
}
pluginList.clear();
}
QString path = QPEApplication::qpeDir() + "/plugins/today";
+#ifdef Q_OS_MACX
+ qWarning("Searching for Plugins in: %s", path.latin1());
+ QDir dir( path, "lib*.dylib" );
+#else
QDir dir( path, "lib*.so" );
+#endif
QStringList list = dir.entryList();
QStringList::Iterator it;
// QMap<QString, TodayPlugin> tempList;