From e003d76c1ef8a14a57513e937dabcc464018496f Mon Sep 17 00:00:00 2001 From: Kostas Karmas Date: Tue, 24 Mar 2020 16:36:09 +0100 Subject: [PATCH] Open links in materials with custom openUrl CURA-7310 --- .../resources/qml/components/ToolboxCompatibilityChart.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Toolbox/resources/qml/components/ToolboxCompatibilityChart.qml b/plugins/Toolbox/resources/qml/components/ToolboxCompatibilityChart.qml index ae9241f0ab..e1f88a473f 100644 --- a/plugins/Toolbox/resources/qml/components/ToolboxCompatibilityChart.qml +++ b/plugins/Toolbox/resources/qml/components/ToolboxCompatibilityChart.qml @@ -4,7 +4,7 @@ import QtQuick 2.10 import QtQuick.Controls 1.4 -import UM 1.1 as UM +import UM 1.5 as UM Item { @@ -203,7 +203,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 } }