diff options
Diffstat (limited to 'src/declarative/scenegraph/qsgcontextplugin.cpp')
-rw-r--r-- | src/declarative/scenegraph/qsgcontextplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/scenegraph/qsgcontextplugin.cpp b/src/declarative/scenegraph/qsgcontextplugin.cpp index b5e74e6cc3..79bcbf9c04 100644 --- a/src/declarative/scenegraph/qsgcontextplugin.cpp +++ b/src/declarative/scenegraph/qsgcontextplugin.cpp @@ -41,7 +41,7 @@ #include "qsgcontextplugin_p.h" #include <private/qsgcontext_p.h> -#include <QtGui/qapplication.h> +#include <QtGui/qguiapplication.h> #include <QtCore/private/qfactoryloader_p.h> #include <QtCore/qlibraryinfo.h> @@ -69,7 +69,7 @@ Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, loader, */ QSGContext *QSGContext::createDefaultContext() { - const QStringList args = QApplication::arguments(); + const QStringList args = QGuiApplication::arguments(); QString device; for (int index = 0; index < args.count(); ++index) { if (args.at(index).startsWith(QLatin1String("--device="))) { |