mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-16 19:31:02 +01:00
Make sure Qt loads plugins from the correct place on mac even when it decides to ignore qt.conf.
This commit is contained in:
parent
bcc84911b8
commit
dc47c96024
@ -150,6 +150,10 @@ int main(int argc, char *argv[]) {
|
|||||||
TagLib::ID3v1::Tag::setStringHandler(&handler);
|
TagLib::ID3v1::Tag::setStringHandler(&handler);
|
||||||
|
|
||||||
QtSingleApplication a(argc, argv);
|
QtSingleApplication a(argc, argv);
|
||||||
|
#ifdef Q_OS_DARWIN
|
||||||
|
QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath() + "/../PlugIns");
|
||||||
|
#endif
|
||||||
|
|
||||||
a.setQuitOnLastWindowClosed(false);
|
a.setQuitOnLastWindowClosed(false);
|
||||||
a.isRunning(); // Otherwise QtLocalPeer won't lock the lockfile :S
|
a.isRunning(); // Otherwise QtLocalPeer won't lock the lockfile :S
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user