Skip to content
Permalink
Browse files

Fix invalid Qt version check resulting in "What's this" buttons still…

… showing on Win
  • Loading branch information
nyalldawson committed Nov 12, 2018
1 parent d845f9d commit f976b0dfd6e203cf32641afa512dad0332c68b8e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/main.cpp
@@ -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

0 comments on commit f976b0d

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