set plugin path also on osx
This commit is contained in:
parent
0d7b810baf
commit
e4b5a2339f
|
@ -33,7 +33,7 @@ using namespace Snore;
|
|||
QHash<QString,PluginContainer*> PluginContainer::s_pluginCache = QHash<QString,PluginContainer*>() ;
|
||||
|
||||
QSettings &PluginContainer::cacheFile(){
|
||||
#ifdef Q_OS_LINUX
|
||||
#ifdef Q_OS_LINUX || defined(Q_OS_OSX)
|
||||
static QSettings cache("TheOneRing","libsnore");
|
||||
#else
|
||||
static QSettings cache(SnoreCorePrivate::pluginDir().absoluteFilePath("plugin.cache"),QSettings::IniFormat);
|
||||
|
|
Loading…
Reference in New Issue