summaryrefslogtreecommitdiffstats
path: root/app/main.cpp
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2017-12-20 00:20:38 +0900
committerTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2017-12-20 00:20:38 +0900
commit673e806f312b1fda4bee4af30e59699bb1f3547c (patch)
tree9754ee55da016c6b73080ec858e0fec200aa1a97 /app/main.cpp
parent8651e32f3897c10cb2a71464fc8122b288091472 (diff)
Revert "I18N: add basic functionality and a few translations"
NOTE: I18N features isn't supported in EEL/CES2018 yet. This reverts commit e26dac76bc82ba7888726cc0b2eb5103b50ef17e. Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Diffstat (limited to 'app/main.cpp')
-rw-r--r--app/main.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/app/main.cpp b/app/main.cpp
index d7f15b5..9649b82 100644
--- a/app/main.cpp
+++ b/app/main.cpp
@@ -14,17 +14,14 @@
* limitations under the License.
*/
+#include <QUrlQuery>
+#include <QQmlContext>
#include <QtCore/QDebug>
-#include <QtCore/QCommandLineParser>
-#include <QtCore/QUrlQuery>
+#include <QCommandLineParser>
#include <QtGui/QGuiApplication>
-#include <QtQml/QQmlContext>
#include <QtQml/QQmlApplicationEngine>
-#include <QtQuick/QQuickWindow>
#include <QtQuickControls2/QQuickStyle>
-
-#include "translator.h"
-
+#include <QQuickWindow>
#include <libhomescreen.hpp>
#include <qlibwindowmanager.h>
@@ -48,8 +45,6 @@ int main(int argc, char *argv[])
parser.process(app);
QStringList positionalArguments = parser.positionalArguments();
- qmlRegisterType<Translator>("Translator", 1, 0, "Translator");
-
QQmlApplicationEngine engine;
if (positionalArguments.length() == 2) {
int port = positionalArguments.takeFirst().toInt();