Use python's webbrowser instead of Qt.openUrlExternally for opening urls

Qt.openUrlExternally crashes on Windows, but python webbrowser works. So
use that instead.

Fixes Asana issue 33694049548892
This commit is contained in:
Arjen Hiemstra 2015-06-16 16:18:52 +02:00
parent 15e66a7a18
commit 3c5096cebc
3 changed files with 20 additions and 2 deletions

View file

@ -337,8 +337,8 @@ UM.MainWindow {
preferences.onTriggered: preferences.visible = true;
configureMachines.onTriggered: { preferences.visible = true; preferences.setPage(2); }
documentation.onTriggered: Qt.openUrlExternally("https://ultimaker.com/en/support");
reportBug.onTriggered: Qt.openUrlExternally("https://github.com/Ultimaker/Cura/issues");
documentation.onTriggered: CuraActions.openDocumentation();
reportBug.onTriggered: CuraActions.openBugReportPage();
showEngineLog.onTriggered: engineLog.visible = true;
about.onTriggered: aboutDialog.visible = true;
}