Skip to content

Commit

Permalink
Fix Help->About "Libraries"
Browse files Browse the repository at this point in the history
  • Loading branch information
agiudiceandrea authored and nyalldawson committed Sep 19, 2024
1 parent 2022327 commit d85f3c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5519,7 +5519,6 @@ QString QgisApp::getVersionString()
const QString compLabel = tr( "Compiled" );
const QString runLabel = tr( "Running" );

versionString += QStringLiteral( "<tr><td colspan=\"2\"><b>%1</b></td>" ).arg( tr( "Libraries" ) );
versionString += QStringLiteral( "<tr><td>%1</td><td>%2</td>" ).arg( tr( "QGIS version" ), Qgis::version() );
versionString += QLatin1String( "</tr><tr>" );
if ( QString( Qgis::devVersion() ) == QLatin1String( "exported" ) )
Expand All @@ -5541,6 +5540,8 @@ QString QgisApp::getVersionString()
}
versionString += QLatin1String( "</tr><tr>" );

versionString += QStringLiteral( "<td colspan=\"2\">&nbsp;</td></tr><tr><td colspan=\"2\"><b>%1</b></td>" ).arg( tr( "Libraries" ) );
versionString += QLatin1String( "</tr><tr>" );
// Qt version
const QString qtVersionCompiled{ QT_VERSION_STR };
const QString qtVersionRunning{ qVersion() };
Expand Down

0 comments on commit d85f3c2

Please sign in to comment.