Fixed about dialog text (#1126)

This commit is contained in:
xarkes 2019-01-21 22:26:22 +01:00 committed by GitHub
parent 73eccd5cff
commit f18a22f81d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,10 +129,11 @@ void AboutDialog::serveVersionCheckReply(QNetworkReply *reply)
if (currVersion == CUTTER_VERSION_FULL) {
mb.setText(tr("You have latest version and no need to update!"));
} else {
mb.setText("<b>" + tr("Current version:") + "</b>" CUTTER_VERSION_FULL "<br/>"
mb.setText("<b>" + tr("Current version:") + "</b> " CUTTER_VERSION_FULL "<br/>"
+ "<b>" + tr("Latest version:") + "</b> " + currVersion + "<br/><br/>"
+ tr("For update, please check the link:")
+ "<a href=\"https://github.com/radareorg/cutter/releases\">%2</a>");
+ "<a href=\"https://github.com/radareorg/cutter/releases\">"
+ "https://github.com/radareorg/cutter/releases</a>");
}
}
mb.exec();