Skip to content
Permalink
Browse files

use link to release branch in about box for exported sources (fixeds #…

…14525)

(cherry picked from commit 044379b)
  • Loading branch information
jef-n committed Mar 23, 2016
1 parent 8fb32b1 commit 0c65f7fbad1511a1fe987474619bc4962dcc3a49
Showing with 12 additions and 2 deletions.
  1. +12 −2 src/app/qgisapp.cpp
@@ -3081,8 +3081,18 @@ void QgisApp::about()
QString versionString = "<html><body><div align='center'><table width='100%'>";

versionString += "<tr>";
versionString += "<td>" + tr( "QGIS version" ) + "</td><td>" + QGis::QGIS_VERSION + "</td>";
versionString += "<td>" + tr( "QGIS code revision" ) + QString( "</td><td><a href=\"https://github.com/qgis/QGIS/commit/%1\">%1</a></td>" ).arg( QGis::QGIS_DEV_VERSION );
versionString += "<td>" + tr( "QGIS version" ) + "</td><td>" + QGis::QGIS_VERSION + "</td><td>";


if ( QString( QGis::QGIS_DEV_VERSION ) == "exported" )
{
versionString += tr( "QGIS code branch" ) + QString( "</td><td><a href=\"https://github.com/qgis/QGIS/tree/release-%1_%2\">Release %1.%2</a></td>" )
.arg( QGis::QGIS_VERSION_INT / 10000 ).arg( QGis::QGIS_VERSION_INT / 100 % 100 );
}
else
{
versionString += tr( "QGIS code revision" ) + QString( "</td><td><a href=\"https://github.com/qgis/QGIS/commit/%1\">%1</a></td>" ).arg( QGis::QGIS_DEV_VERSION );
}

versionString += "</tr><tr>";

0 comments on commit 0c65f7f

Please sign in to comment.
You can’t perform that action at this time.