mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-04 14:00:29 +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);
|
||||
#ifdef Q_OS_DARWIN
|
||||
QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath() + "/../PlugIns");
|
||||
QCoreApplication::setLibraryPaths(
|
||||
QStringList() << QCoreApplication::applicationDirPath() + "/../PlugIns");
|
||||
#endif
|
||||
|
||||
a.setQuitOnLastWindowClosed(false);
|
||||
|
Loading…
Reference in New Issue
Block a user