diff options
Diffstat (limited to 'app/main.cpp')
-rw-r--r-- | app/main.cpp | 13 |
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(); |