1
0
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:
John Maguire 2010-08-28 19:34:03 +00:00
parent a3e6a302c6
commit e950b7cbf5

View File

@ -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);