diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2024-03-07 17:49:32 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2024-03-11 08:18:13 +0000 |
commit | f4916b3125eb100b917c1077db761cb88b64bf8d (patch) | |
tree | 5385a23e58af1351b12ceaf9c842540f30b86101 | |
parent | 2f290e6dc09c23173273d4d98837e89efb4589c3 (diff) |
Core: Lower the document auto-suspension threshold again
This was already done in 509600da99fe48db30d930b308129da43abdbd40, but
accidentally reverted by a refactoring in
7f908d737b0e017e65e917c65b19499f3093fa4c.
Task-number: QTCREATORBUG-29943
Change-Id: Ica3df46fa9610729629704746a8e1003bb89f465
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
-rw-r--r-- | src/plugins/coreplugin/systemsettings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/coreplugin/systemsettings.cpp b/src/plugins/coreplugin/systemsettings.cpp index ccaef59b8b..4ef1b0687b 100644 --- a/src/plugins/coreplugin/systemsettings.cpp +++ b/src/plugins/coreplugin/systemsettings.cpp @@ -104,7 +104,7 @@ SystemSettings::SystemSettings() autoSuspendMinDocumentCount.setSettingsKey("EditorManager/AutoSuspendMinDocuments"); autoSuspendMinDocumentCount.setRange(1, 500); - autoSuspendMinDocumentCount.setDefaultValue(30); + autoSuspendMinDocumentCount.setDefaultValue(10); autoSuspendMinDocumentCount.setLabelText(Tr::tr("Files to keep open:")); autoSuspendMinDocumentCount.setToolTip( Tr::tr("Minimum number of open documents that should be kept in memory. Increasing this " |