1
0
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:
Fredrik Larson 2014-09-02 23:18:45 +10:00
parent af6ee00fe1
commit 6243cad768
2 changed files with 8 additions and 3 deletions

View File

@ -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")
}
}
}
}

View File

@ -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();
}
}