Remove QApplication usage - it's in QCoreApplication.
authorMichael Goddard <michael.goddard@nokia.com>
Mon, 26 Sep 2011 06:49:20 +0000 (16:49 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 26 Sep 2011 06:55:41 +0000 (08:55 +0200)
Change-Id: I0c1fab0c0eea56f1ecb141d6238acdf2778c82d8
Reviewed-on: http://codereview.qt-project.org/5513
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Sergey Dubitskiy <sergey.dubitskiy@nokia.com>
src/multimediakit/audio/qaudiopluginloader.cpp

index 4aa24d5..5800635 100644 (file)
@@ -43,7 +43,6 @@
 #include "qaudiopluginloader_p.h"
 
 #include <QtCore/qcoreapplication.h>
-#include <QtWidgets/qapplication.h>
 #include <QtCore/qpluginloader.h>
 #include <QtCore/qfactoryinterface.h>
 #include <QtCore/qdir.h>
@@ -71,7 +70,7 @@ QStringList QAudioPluginLoader::pluginList() const
     const bool showDebug = qgetenv("QT_DEBUG_PLUGINS").toInt() > 0;
 #endif
 
-    QStringList paths = QApplication::libraryPaths();
+    QStringList paths = QCoreApplication::libraryPaths();
 #ifdef QTM_PLUGIN_PATH
     paths << QLatin1String(QTM_PLUGIN_PATH);
 #endif