From eaef9f0f457dde34b9392465537c14b74a3a923e Mon Sep 17 00:00:00 2001 From: Kostas Karmas Date: Tue, 24 Mar 2020 16:42:46 +0100 Subject: [PATCH] Open plugin author page with custom openUrl CURA-7310 --- plugins/Toolbox/resources/qml/pages/ToolboxDetailPage.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Toolbox/resources/qml/pages/ToolboxDetailPage.qml b/plugins/Toolbox/resources/qml/pages/ToolboxDetailPage.qml index 6d34e23f42..94caafb00b 100644 --- a/plugins/Toolbox/resources/qml/pages/ToolboxDetailPage.qml +++ b/plugins/Toolbox/resources/qml/pages/ToolboxDetailPage.qml @@ -4,7 +4,7 @@ import QtQuick 2.10 import QtQuick.Controls 1.4 import QtQuick.Controls.Styles 1.4 -import UM 1.1 as UM +import UM 1.5 as UM import Cura 1.1 as Cura @@ -217,7 +217,7 @@ Item font: UM.Theme.getFont("default") color: UM.Theme.getColor("text") linkColor: UM.Theme.getColor("text_link") - onLinkActivated: Qt.openUrlExternally(link) + onLinkActivated: UM.UrlUtil.openUrl(link, ["http", "https"]) renderType: Text.NativeRendering } Label