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*>() ;
|
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);
|
||||||
|
|
Loading…
Reference in New Issue