mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 06:33:55 -06:00
Add missing campaign tags
CURA-8441
This commit is contained in:
parent
5a8167cbff
commit
b37716de58
3 changed files with 3 additions and 3 deletions
|
@ -35,7 +35,7 @@ class CuraActions(QObject):
|
||||||
# Starting a web browser from a signal handler connected to a menu will crash on windows.
|
# Starting a web browser from a signal handler connected to a menu will crash on windows.
|
||||||
# So instead, defer the call to the next run of the event loop, since that does work.
|
# So instead, defer the call to the next run of the event loop, since that does work.
|
||||||
# Note that weirdly enough, only signal handlers that open a web browser fail like that.
|
# Note that weirdly enough, only signal handlers that open a web browser fail like that.
|
||||||
event = CallFunctionEvent(self._openUrl, [QUrl("https://ultimaker.com/en/resources/manuals/software")], {})
|
event = CallFunctionEvent(self._openUrl, [QUrl("https://ultimaker.com/en/resources/manuals/software?utm_source=cura&utm_medium=software&utm_campaign=dropdown-documentation")], {})
|
||||||
cura.CuraApplication.CuraApplication.getInstance().functionEvent(event)
|
cura.CuraApplication.CuraApplication.getInstance().functionEvent(event)
|
||||||
|
|
||||||
@pyqtSlot()
|
@pyqtSlot()
|
||||||
|
|
|
@ -79,7 +79,7 @@ Item
|
||||||
Action
|
Action
|
||||||
{
|
{
|
||||||
id: showTroubleShootingAction
|
id: showTroubleShootingAction
|
||||||
onTriggered: Qt.openUrlExternally("https://ultimaker.com/en/troubleshooting")
|
onTriggered: Qt.openUrlExternally("https://ultimaker.com/en/troubleshooting?utm_source=cura&utm_medium=software&utm_campaign=dropdown-troubleshooting")
|
||||||
text: catalog.i18nc("@action:inmenu", "Show Online Troubleshooting Guide");
|
text: catalog.i18nc("@action:inmenu", "Show Online Troubleshooting Guide");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -251,7 +251,7 @@ Item
|
||||||
onClicked:
|
onClicked:
|
||||||
{
|
{
|
||||||
// open the troubleshooting URL with web browser
|
// open the troubleshooting URL with web browser
|
||||||
const url = "https://ultimaker.com/in/cura/troubleshooting/network"
|
const url = "https://ultimaker.com/in/cura/troubleshooting/network?utm_source=cura&utm_medium=software&utm_campaign=add-network-printer"
|
||||||
Qt.openUrlExternally(url)
|
Qt.openUrlExternally(url)
|
||||||
}
|
}
|
||||||
onEntered:
|
onEntered:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue