Skip to content

Commit

Permalink
Hide "whats this" buttons on all dialogs on Windows
Browse files Browse the repository at this point in the history
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 15e7d57
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/main.cpp
Expand Up @@ -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() )
Expand Down

0 comments on commit 15e7d57

Please sign in to comment.