mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-15 07:29:15 +01:00
Change mouse pointr type to show this is a link
This commit is contained in:
parent
af6ee00fe1
commit
6243cad768
@ -135,15 +135,20 @@ Rectangle {
|
||||
text: welcomePlugin.newVersionText
|
||||
anchors.rightMargin: 0
|
||||
font.bold: true
|
||||
font.underline: true
|
||||
styleColor: "#00000000"
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
font.pixelSize: 14
|
||||
anchors.left: textOpVersion.right
|
||||
|
||||
MouseArea{
|
||||
id: mouseAreaOpVersionAvailable
|
||||
hoverEnabled: true
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
width: parent.width
|
||||
height: parent.height
|
||||
onClicked: welcomePlugin.openUrl("http://wiki.openpilot.org/display/BUILDS/OpenPilot+Software+Downloads")
|
||||
onClicked: {
|
||||
welcomePlugin.openUrl("http://wiki.openpilot.org/display/BUILDS/OpenPilot+Software+Downloads")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -169,7 +169,7 @@ void WelcomeMode::networkResponseReady(QNetworkReply* reply)
|
||||
|
||||
if(version != VersionInfo::tagOrHash8())
|
||||
{
|
||||
m_newVersionText = tr("(Update Available: %1)").arg(version);
|
||||
m_newVersionText = tr("Update Available: %1").arg(version);
|
||||
emit newVersionTextChanged();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user