Skip to content

Commit

Permalink
Fix invalid Qt version check resulting in "What's this" buttons still…
Browse files Browse the repository at this point in the history
… showing on Win
  • Loading branch information
nyalldawson committed Nov 12, 2018
1 parent d845f9d commit f976b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/main.cpp
Expand Up @@ -840,7 +840,7 @@ int main( int argc, char *argv[] )
QCoreApplication::setOrganizationDomain( QgsApplication::QGIS_ORGANIZATION_DOMAIN );
QCoreApplication::setApplicationName( QgsApplication::QGIS_APPLICATION_NAME );
QCoreApplication::setAttribute( Qt::AA_DontShowIconsInMenus, false );
#if QT_VERSION >= 0x051000
#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
QCoreApplication::setAttribute( Qt::AA_DisableWindowContextHelpButton, true );
#endif

Expand Down

0 comments on commit f976b0d

Please sign in to comment.