Skip to content
Permalink
Browse files

Hide "whats this" buttons on all dialogs on Windows

Since it's totally useless and does nothing at all.

*Requires Qt >= 5.10
  • Loading branch information
nyalldawson committed Dec 8, 2017
1 parent 14f754a commit 15e7d57f97c12b4aedb76749c7ef9034b800db94
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/app/main.cpp
@@ -793,6 +793,9 @@ 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
QCoreApplication::setAttribute( Qt::AA_DisableWindowContextHelpButton, true );
#endif

QgsSettings settings;
if ( configLocalStorageLocation.isEmpty() )

0 comments on commit 15e7d57

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