mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-22 15:30:13 +01:00
Only load Mac plugins from the app bundle.
This commit is contained in:
parent
a3e6a302c6
commit
e950b7cbf5
@ -159,7 +159,8 @@ int main(int argc, char *argv[]) {
|
|||||||
|
|
||||||
QtSingleApplication a(argc, argv);
|
QtSingleApplication a(argc, argv);
|
||||||
#ifdef Q_OS_DARWIN
|
#ifdef Q_OS_DARWIN
|
||||||
QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath() + "/../PlugIns");
|
QCoreApplication::setLibraryPaths(
|
||||||
|
QStringList() << QCoreApplication::applicationDirPath() + "/../PlugIns");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
a.setQuitOnLastWindowClosed(false);
|
a.setQuitOnLastWindowClosed(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user