Skip to content

Commit 2bd98ff

Browse files
committed
Fix invalid Qt version check resulting in "What's this" buttons still showing on Win
(cherry picked from commit f976b0d)
1 parent bc01c28 commit 2bd98ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ int main( int argc, char *argv[] )
842842
QCoreApplication::setOrganizationDomain( QgsApplication::QGIS_ORGANIZATION_DOMAIN );
843843
QCoreApplication::setApplicationName( QgsApplication::QGIS_APPLICATION_NAME );
844844
QCoreApplication::setAttribute( Qt::AA_DontShowIconsInMenus, false );
845-
#if QT_VERSION >= 0x051000
845+
#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
846846
QCoreApplication::setAttribute( Qt::AA_DisableWindowContextHelpButton, true );
847847
#endif
848848

0 commit comments

Comments
 (0)