Remove QApplication usage - it's in QCoreApplication.
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>
This commit is contained in:
committed by
Qt by Nokia
parent
26d8bedc39
commit
136adad652
@@ -43,7 +43,6 @@
|
|||||||
#include "qaudiopluginloader_p.h"
|
#include "qaudiopluginloader_p.h"
|
||||||
|
|
||||||
#include <QtCore/qcoreapplication.h>
|
#include <QtCore/qcoreapplication.h>
|
||||||
#include <QtWidgets/qapplication.h>
|
|
||||||
#include <QtCore/qpluginloader.h>
|
#include <QtCore/qpluginloader.h>
|
||||||
#include <QtCore/qfactoryinterface.h>
|
#include <QtCore/qfactoryinterface.h>
|
||||||
#include <QtCore/qdir.h>
|
#include <QtCore/qdir.h>
|
||||||
@@ -71,7 +70,7 @@ QStringList QAudioPluginLoader::pluginList() const
|
|||||||
const bool showDebug = qgetenv("QT_DEBUG_PLUGINS").toInt() > 0;
|
const bool showDebug = qgetenv("QT_DEBUG_PLUGINS").toInt() > 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
QStringList paths = QApplication::libraryPaths();
|
QStringList paths = QCoreApplication::libraryPaths();
|
||||||
#ifdef QTM_PLUGIN_PATH
|
#ifdef QTM_PLUGIN_PATH
|
||||||
paths << QLatin1String(QTM_PLUGIN_PATH);
|
paths << QLatin1String(QTM_PLUGIN_PATH);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user