From 28d3a4eb261318046464ea18d329aeecb9f1d9d0 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Wed, 27 Feb 2019 11:20:19 +0100 Subject: Cleanup QML client certificate selection implementation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Get rid of copy constructors for QObjects by making the elements objects on the heap. Change-Id: Ic9a214f01b39feb824b99d17d17fd342d431cd97 Reviewed-by: Jüri Valdmann Reviewed-by: Michal Klocek --- src/webengine/plugin/plugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/webengine/plugin/plugin.cpp') diff --git a/src/webengine/plugin/plugin.cpp b/src/webengine/plugin/plugin.cpp index 82a76760d..381837e08 100644 --- a/src/webengine/plugin/plugin.cpp +++ b/src/webengine/plugin/plugin.cpp @@ -159,9 +159,9 @@ public: msgUncreatableType("RegisterProtocolHandlerRequest")); qmlRegisterUncreatableType(uri, 1, 8, "WebEngineAction", msgUncreatableType("WebEngineAction")); qmlRegisterUncreatableType(uri, 1, 9, "WebEngineClientCertificateSelection", - tr("Cannot create a separate instance of WebEngineClientCertificateSelection")); + msgUncreatableType("WebEngineClientCertificateSelection")); qmlRegisterUncreatableType(uri, 1, 9, "WebEngineClientCertificateOption", - tr("Cannot create a separate instance of WebEngineClientCertificateOption")); + msgUncreatableType("WebEngineClientCertificateOption")); qmlRegisterUncreatableType(uri, 1, 9, "WebEngineNotification", msgUncreatableType("WebEngineNotification")); } -- cgit v1.2.3