Skip to content
Permalink
Browse files

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

… showing on Win

(cherry picked from commit f976b0d)
  • Loading branch information
nyalldawson committed Nov 12, 2018
1 parent bc01c28 commit 2bd98ff8dc17a2533c263224aacc26ae6b575a7c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/main.cpp
@@ -842,7 +842,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 2bd98ff

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