mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-30 00:04:11 -04:00
Hide "whats this" buttons on all dialogs on Windows
Since it's totally useless and does nothing at all. *Requires Qt >= 5.10
This commit is contained in:
parent
14f754ac6a
commit
15e7d57f97
@ -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() )
|
||||
|
Loading…
x
Reference in New Issue
Block a user