QmlDesigner: Increase the puppet timeout to 30s

The puppet timeout creates issues with the 3D view.
At the moment we do not know any case in which the puppet
timeout is strictly required.
Increasing the timeout to 30s should be safe.
In the worst case users have to add the option to reduce
the timeout again.

Change-Id: I3a4b2b145f42b3fcabfdfaa97bc23ae10d6c1648
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Thomas Hartmann
2019-12-17 10:44:13 +01:00
committed by Tim Jenssen
parent 2f2787c4a8
commit 166afd6521

View File

@@ -67,7 +67,7 @@ void DesignerSettings::fromSettings(QSettings *settings)
restoreValue(settings, DesignerSettingsKey::CONTROLS_STYLE);
restoreValue(settings, DesignerSettingsKey::SHOW_PROPERTYEDITOR_WARNINGS, false);
restoreValue(settings, DesignerSettingsKey::ENABLE_MODEL_EXCEPTION_OUTPUT, false);
restoreValue(settings, DesignerSettingsKey::PUPPET_KILL_TIMEOUT, 3000); // this has no ui at the moment
restoreValue(settings, DesignerSettingsKey::PUPPET_KILL_TIMEOUT, 30000); // this has no ui at the moment
restoreValue(settings, DesignerSettingsKey::DEBUG_PUPPET, QString());
restoreValue(settings, DesignerSettingsKey::FORWARD_PUPPET_OUTPUT, QString());
restoreValue(settings, DesignerSettingsKey::REFORMAT_UI_QML_FILES, true);