author | eilers <eilers> | 2004-01-08 17:43:39 (UTC) |
---|---|---|
committer | eilers <eilers> | 2004-01-08 17:43:39 (UTC) |
commit | dc350f3bc1744a0bbfc230050d0d8c2817878dbb (patch) (side-by-side diff) | |
tree | 7356378f030e0f5b160f5fec244da34ec312c463 | |
parent | eeb69efb4e0639429e5f6fd15e65b1b6fbaa5c35 (diff) | |
download | opie-dc350f3bc1744a0bbfc230050d0d8c2817878dbb.zip opie-dc350f3bc1744a0bbfc230050d0d8c2817878dbb.tar.gz opie-dc350f3bc1744a0bbfc230050d0d8c2817878dbb.tar.bz2 |
Forgotten to commit the patch for Mac OSX..
-rw-r--r-- | core/pim/today/today.cpp | 5 |
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 @@ -184,17 +184,22 @@ void Today::loadPlugins() { delete (*tit).guiBox; (*tit).library->unload(); 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; for ( it = list.begin(); it != list.end(); ++it ) { QInterfacePtr<TodayPluginInterface> iface; |