diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-07-16 11:08:11 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-07-16 11:08:11 +0200 |
commit | 9a6abe17e0676acd6deb9a13ab6f8e549de987cc (patch) | |
tree | b2e04e9495fafe52c33dddbf96b1de51e123721b /framework/src/frameworkplugin.cpp | |
parent | cd087aad3182b7cd34f5a45cee4864cf54a69057 (diff) | |
download | kube-9a6abe17e0676acd6deb9a13ab6f8e549de987cc.tar.gz kube-9a6abe17e0676acd6deb9a13ab6f8e549de987cc.zip |
Removed the unused webengineprofile
Diffstat (limited to 'framework/src/frameworkplugin.cpp')
-rw-r--r-- | framework/src/frameworkplugin.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/framework/src/frameworkplugin.cpp b/framework/src/frameworkplugin.cpp index 9c81b7e1..72e9730b 100644 --- a/framework/src/frameworkplugin.cpp +++ b/framework/src/frameworkplugin.cpp | |||
@@ -38,7 +38,6 @@ | |||
38 | #include "fabric.h" | 38 | #include "fabric.h" |
39 | #include "kubeimage.h" | 39 | #include "kubeimage.h" |
40 | #include "clipboardproxy.h" | 40 | #include "clipboardproxy.h" |
41 | #include "webengineprofile.h" | ||
42 | #include "startupcheck.h" | 41 | #include "startupcheck.h" |
43 | #include "keyring.h" | 42 | #include "keyring.h" |
44 | #include "controller.h" | 43 | #include "controller.h" |
@@ -98,13 +97,6 @@ static QObject *fabric_singletontype_provider(QQmlEngine *engine, QJSEngine *scr | |||
98 | return new Kube::Fabric::Fabric; | 97 | return new Kube::Fabric::Fabric; |
99 | } | 98 | } |
100 | 99 | ||
101 | static QObject *webengineprofile_singletontype_provider(QQmlEngine *engine, QJSEngine *scriptEngine) | ||
102 | { | ||
103 | Q_UNUSED(engine) | ||
104 | Q_UNUSED(scriptEngine) | ||
105 | return new WebEngineProfile; | ||
106 | } | ||
107 | |||
108 | static QObject *keyring_singletontype_provider(QQmlEngine *engine, QJSEngine *scriptEngine) | 100 | static QObject *keyring_singletontype_provider(QQmlEngine *engine, QJSEngine *scriptEngine) |
109 | { | 101 | { |
110 | Q_UNUSED(engine) | 102 | Q_UNUSED(engine) |
@@ -196,6 +188,5 @@ void FrameworkPlugin::registerTypes (const char *uri) | |||
196 | qmlRegisterType<ClipboardProxy>(uri, 1, 0, "Clipboard"); | 188 | qmlRegisterType<ClipboardProxy>(uri, 1, 0, "Clipboard"); |
197 | qmlRegisterType<StartupCheck>(uri, 1, 0, "StartupCheck"); | 189 | qmlRegisterType<StartupCheck>(uri, 1, 0, "StartupCheck"); |
198 | qmlRegisterType<ViewHighlighter>(uri, 1, 0, "ViewHighlighter"); | 190 | qmlRegisterType<ViewHighlighter>(uri, 1, 0, "ViewHighlighter"); |
199 | qmlRegisterSingletonType<WebEngineProfile>(uri, 1, 0, "WebEngineProfile", webengineprofile_singletontype_provider); | ||
200 | qmlRegisterSingletonType<Kube::Keyring>(uri, 1, 0, "Keyring", keyring_singletontype_provider); | 191 | qmlRegisterSingletonType<Kube::Keyring>(uri, 1, 0, "Keyring", keyring_singletontype_provider); |
201 | } | 192 | } |