Fix troubleshooting typos

This commit is contained in:
Lipu Fei 2019-03-20 11:33:43 +01:00
parent d46d0f2999
commit 79ab09ca01

View file

@ -165,16 +165,16 @@ Item
anchors.right: parent.right anchors.right: parent.right
anchors.rightMargin: UM.Theme.getSize("default_margin").width anchors.rightMargin: UM.Theme.getSize("default_margin").width
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
height: troubleshoortingLinkIcon.height height: troubleshootingLinkIcon.height
width: troubleshoortingLinkIcon.width + troubleshoortingLabel.width + UM.Theme.getSize("default_margin").width width: troubleshootingLinkIcon.width + troubleshootingLabel.width + UM.Theme.getSize("default_margin").width
UM.RecolorImage UM.RecolorImage
{ {
id: troubleshoortingLinkIcon id: troubleshootingLinkIcon
anchors.right: troubleshoortingLabel.left anchors.right: troubleshootingLabel.left
anchors.rightMargin: UM.Theme.getSize("default_margin").width anchors.rightMargin: UM.Theme.getSize("default_margin").width
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
height: troubleshoortingLabel.height height: troubleshootingLabel.height
width: height width: height
sourceSize.height: width sourceSize.height: width
color: UM.Theme.getColor("text_link") color: UM.Theme.getColor("text_link")
@ -183,7 +183,7 @@ Item
Label Label
{ {
id: troubleshoortingLabel id: troubleshootingLabel
anchors.right: parent.right anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
text: catalog.i18nc("@label", "Troubleshooting") text: catalog.i18nc("@label", "Troubleshooting")
@ -199,17 +199,17 @@ Item
hoverEnabled: true hoverEnabled: true
onClicked: onClicked:
{ {
// open the throubleshooting URL with web browser // open the troubleshooting URL with web browser
var url = "https://ultimaker.com/incoming-links/cura/material-compatibilty" // TODO var url = "https://ultimaker.com/incoming-links/cura/material-compatibilty" // TODO
Qt.openUrlExternally(url) Qt.openUrlExternally(url)
} }
onEntered: onEntered:
{ {
troubleshoortingLabel.font.underline = true troubleshootingLabel.font.underline = true
} }
onExited: onExited:
{ {
troubleshoortingLabel.font.underline = false troubleshootingLabel.font.underline = false
} }
} }
} }