summaryrefslogtreecommitdiff
path: root/main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/main.cxx b/main.cxx
index ff184e7..f3a9cb9 100644
--- a/main.cxx
+++ b/main.cxx
@@ -18,14 +18,6 @@ int main(int argc, char* argv[])
return new User;
});
- TaskList::typeId = qmlRegisterSingletonType<User>("KelakonUser", 0, 1, "TaskList"
- , [](QQmlEngine *engine,
- QJSEngine *scriptEngine) -> QObject* {
- Q_UNUSED(engine)
- Q_UNUSED(scriptEngine)
- return new TaskList;
- });
-
engine.load(QUrl(QStringLiteral("qrc:/main.qml")));
Controller controller{&engine};