Permalink
Browse files

Cleanup the library path stuff.

  • Loading branch information...
1 parent 623ef89 commit cda4e5dacad501828bd408e90bc3dc0eb45641b4 @eartle committed May 24, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 lib/unicorn/UnicornApplication.cpp
@@ -75,11 +75,11 @@ unicorn::Application::Application( int& argc, char** argv ) throw( StubbornUserE
void
unicorn::Application::init()
{
- QString libraryPath = applicationDirPath() + "/../plugins";
- qDebug() << libraryPath;
-
- addLibraryPath( applicationDirPath() );
- addLibraryPath( libraryPath );
+#ifdef Q_OS_MAC
+ addLibraryPath( applicationDirPath() + "/../plugins" );
+#elif defined Q_OS_WIN
+ addLibraryPath( applicationDirPath() + "/plugins" );
+#endif
#ifdef Q_WS_MAC
qt_mac_set_menubar_icons( false );

0 comments on commit cda4e5d

Please sign in to comment.