mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Resolve cpu spikes when options dialog is shown
Disable auto-update of the advanced settings tree widget. This is causing CPU spikes every 2 seconds while the dialog is open. It's useless for QGIS, because this dialog is modal and blocking, and changes to settings aren't saved until the dialog is dismissed. So basically nothing should be updating these settings while the dialog is opened anyway... Fixes #32892
This commit is contained in:
parent
617955ac1e
commit
3b29dbafa6
@ -99,7 +99,7 @@ class QgsSettingsTree : public QTreeWidget
|
|||||||
|
|
||||||
QgsSettings *mSettings = nullptr;
|
QgsSettings *mSettings = nullptr;
|
||||||
QTimer mRefreshTimer;
|
QTimer mRefreshTimer;
|
||||||
bool mAutoRefresh = true;
|
bool mAutoRefresh = false;
|
||||||
QIcon mGroupIcon;
|
QIcon mGroupIcon;
|
||||||
QIcon mKeyIcon;
|
QIcon mKeyIcon;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user