forked from qt-creator/qt-creator
Core: Lower the document auto-suspension threshold again
This was already done in509600da99
, but accidentally reverted by a refactoring in7f908d737b
. 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>
This commit is contained in:
@@ -104,7 +104,7 @@ SystemSettings::SystemSettings()
|
|||||||
|
|
||||||
autoSuspendMinDocumentCount.setSettingsKey("EditorManager/AutoSuspendMinDocuments");
|
autoSuspendMinDocumentCount.setSettingsKey("EditorManager/AutoSuspendMinDocuments");
|
||||||
autoSuspendMinDocumentCount.setRange(1, 500);
|
autoSuspendMinDocumentCount.setRange(1, 500);
|
||||||
autoSuspendMinDocumentCount.setDefaultValue(30);
|
autoSuspendMinDocumentCount.setDefaultValue(10);
|
||||||
autoSuspendMinDocumentCount.setLabelText(Tr::tr("Files to keep open:"));
|
autoSuspendMinDocumentCount.setLabelText(Tr::tr("Files to keep open:"));
|
||||||
autoSuspendMinDocumentCount.setToolTip(
|
autoSuspendMinDocumentCount.setToolTip(
|
||||||
Tr::tr("Minimum number of open documents that should be kept in memory. Increasing this "
|
Tr::tr("Minimum number of open documents that should be kept in memory. Increasing this "
|
||||||
|
Reference in New Issue
Block a user