aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/tableview/gameoflife/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/tableview/gameoflife/main.cpp')
-rw-r--r--examples/quick/tableview/gameoflife/main.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/quick/tableview/gameoflife/main.cpp b/examples/quick/tableview/gameoflife/main.cpp
index 5101880b06..1500efdcca 100644
--- a/examples/quick/tableview/gameoflife/main.cpp
+++ b/examples/quick/tableview/gameoflife/main.cpp
@@ -58,10 +58,6 @@ int main(int argc, char *argv[])
QGuiApplication app(argc, argv);
QQmlApplicationEngine engine;
- //! [registertype]
- qmlRegisterType<GameOfLifeModel>("GameOfLifeModel", 1, 0, "GameOfLifeModel");
- //! [registertype]
-
engine.load(QUrl(QStringLiteral("qrc:/main.qml")));
if (engine.rootObjects().isEmpty())
return -1;