From 7ce196b5552b2acfa2d54e46809dd4248b63a156 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 25 Dec 2017 21:26:18 +0100 Subject: Load files from qml --- framework/src/frameworkplugin.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'framework/src/frameworkplugin.cpp') diff --git a/framework/src/frameworkplugin.cpp b/framework/src/frameworkplugin.cpp index bfedc752..b5635733 100644 --- a/framework/src/frameworkplugin.cpp +++ b/framework/src/frameworkplugin.cpp @@ -45,6 +45,7 @@ #include "domainobjectcontroller.h" #include "extensionmodel.h" #include "viewhighlighter.h" +#include "file.h" #include #include @@ -181,6 +182,7 @@ void FrameworkPlugin::registerTypes (const char *uri) qmlRegisterType(uri, 1, 0, "AccountFactory"); qmlRegisterType(uri, 1, 0, "AccountsModel"); qmlRegisterType(uri, 1, 0, "ExtensionModel"); + qmlRegisterType(uri, 1, 0, "File"); qmlRegisterType(uri, 1, 0, "Settings"); -- cgit v1.2.3