QmlDesigner: Shorten the visual block of form editor view

Since we cache now the images from the puppet 100ms are sufficient.

Change-Id: Ibf5bd40cb4d5d9c249db8ac4a2c5e60e31df3504
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Thomas Hartmann
2022-02-11 17:36:12 +01:00
parent 900cd206c8
commit dd6d6263d4
2 changed files with 2 additions and 2 deletions

View File

@@ -484,7 +484,7 @@ void FormEditorView::customNotification(const AbstractView * /*view*/, const QSt
void FormEditorView::currentStateChanged(const ModelNode & /*node*/)
{
temporaryBlockView(100);
temporaryBlockView();
}
AbstractFormEditorTool *FormEditorView::currentTool() const

View File

@@ -147,7 +147,7 @@ private:
void setupFormEditorItemTree(const QmlItemNode &qmlItemNode);
void removeNodeFromScene(const QmlItemNode &qmlItemNode);
void createFormEditorWidget();
void temporaryBlockView(int duration = 1000);
void temporaryBlockView(int duration = 100);
void resetNodeInstanceView();
void addOrRemoveFormEditorItem(const ModelNode &node);
void checkRootModelNode();