From 92cef02ee572a2879dd4f17eae1f376a052d810f Mon Sep 17 00:00:00 2001 From: Kostas Karmas Date: Tue, 24 Mar 2020 16:38:25 +0100 Subject: [PATCH] Open "buy material spool" with custom openUrl CURA-7310 --- .../resources/qml/components/ToolboxDetailTileActions.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Toolbox/resources/qml/components/ToolboxDetailTileActions.qml b/plugins/Toolbox/resources/qml/components/ToolboxDetailTileActions.qml index dfe91edbf6..868b5971c0 100644 --- a/plugins/Toolbox/resources/qml/components/ToolboxDetailTileActions.qml +++ b/plugins/Toolbox/resources/qml/components/ToolboxDetailTileActions.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 Column @@ -85,7 +85,7 @@ Column MouseArea { anchors.fill: parent - onClicked: Qt.openUrlExternally(parent.whereToBuyUrl) + onClicked: UM.UrlUtil.openUrl(parent.whereToBuyUrl, ["https", "http"]) } }