set plugin path also on osx

This commit is contained in:
Patrick von Reth 2014-01-12 14:00:07 +01:00
parent 0d7b810baf
commit e4b5a2339f
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ using namespace Snore;
QHash<QString,PluginContainer*> PluginContainer::s_pluginCache = QHash<QString,PluginContainer*>() ; QHash<QString,PluginContainer*> PluginContainer::s_pluginCache = QHash<QString,PluginContainer*>() ;
QSettings &PluginContainer::cacheFile(){ QSettings &PluginContainer::cacheFile(){
#ifdef Q_OS_LINUX #ifdef Q_OS_LINUX || defined(Q_OS_OSX)
static QSettings cache("TheOneRing","libsnore"); static QSettings cache("TheOneRing","libsnore");
#else #else
static QSettings cache(SnoreCorePrivate::pluginDir().absoluteFilePath("plugin.cache"),QSettings::IniFormat); static QSettings cache(SnoreCorePrivate::pluginDir().absoluteFilePath("plugin.cache"),QSettings::IniFormat);