summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Knight <andrew.knight@digia.com>2014-04-27 14:50:26 +0300
committerAndrew Knight <andrew.knight@digia.com>2014-04-28 09:09:34 +0200
commit735369946326e1c92eb4c024ba6baba3b73aaa86 (patch)
tree621068000762b33f1c4bc3401ea95d04d0cc62d9
parent79ca9908ca0c5c1818142b73ca8644282f5907dc (diff)
Don't use QtQml module include
Including the whole module will include the headers for the entire module and its dependencies, which is bad practice. Change-Id: I2ba2505d09500bc496dc83fa26cfea6637f6d795 Reviewed-by: Caroline Chao <caroline.chao@digia.com>
-rw-r--r--src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index dbe5d4f..95f18dd 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -39,11 +39,12 @@
****************************************************************************/
#include <QtCore/QString>
+#include <QtCore/QTranslator>
#include <QtGui/QFont>
#include <QtGui/QFontDatabase>
#include <QtGui/QGuiApplication>
#include <QtQuick/QQuickWindow>
-#include <QtQml>
+#include <QtQml/QQmlApplicationEngine>
#include "daymodel.h"
#include "citymodel.h"