File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -3080,8 +3080,18 @@ void QgisApp::about()
30803080 QString versionString = " <html><body><div align='center'><table width='100%'>" ;
30813081
30823082 versionString += " <tr>" ;
3083- versionString += " <td>" + tr ( " QGIS version" ) + " </td><td>" + QGis::QGIS_VERSION + " </td>" ;
3084- 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 );
3083+ versionString += " <td>" + tr ( " QGIS version" ) + " </td><td>" + QGis::QGIS_VERSION + " </td><td>" ;
3084+
3085+
3086+ if ( QString ( QGis::QGIS_DEV_VERSION ) == " exported" )
3087+ {
3088+ versionString += tr ( " QGIS code branch" ) + QString ( " </td><td><a href=\" https://github.com/qgis/QGIS/tree/release-%1_%2\" >Release %1.%2</a></td>" )
3089+ .arg ( QGis::QGIS_VERSION_INT / 10000 ).arg ( QGis::QGIS_VERSION_INT / 100 % 100 );
3090+ }
3091+ else
3092+ {
3093+ 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 );
3094+ }
30853095
30863096 versionString += " </tr><tr>" ;
30873097
You can’t perform that action at this time.
0 commit comments