Skip to content

Commit f976b0d

Browse files
committed
Fix invalid Qt version check resulting in "What's this" buttons still showing on Win
1 parent d845f9d commit f976b0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ int main( int argc, char *argv[] )
840840
QCoreApplication::setOrganizationDomain( QgsApplication::QGIS_ORGANIZATION_DOMAIN );
841841
QCoreApplication::setApplicationName( QgsApplication::QGIS_APPLICATION_NAME );
842842
QCoreApplication::setAttribute( Qt::AA_DontShowIconsInMenus, false );
843-
#if QT_VERSION >= 0x051000
843+
#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
844844
QCoreApplication::setAttribute( Qt::AA_DisableWindowContextHelpButton, true );
845845
#endif
846846

0 commit comments

Comments
 (0)