From 5b19c034ed28053e52988115464dd1897262955b Mon Sep 17 00:00:00 2001 From: Henning Gruendl Date: Mon, 28 Nov 2022 12:42:28 +0100 Subject: [PATCH] QmlDesigner: Remove error states editor Remove the error "Unable to assign [undefined] to QUrl" thrown by the states editor. Change-Id: Ic48deddbe698f161f486003ccaf9eb22d0ee65a9 Reviewed-by: Thomas Hartmann --- share/qtcreator/qmldesigner/newstateseditor/Main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/qtcreator/qmldesigner/newstateseditor/Main.qml b/share/qtcreator/qmldesigner/newstateseditor/Main.qml index 6be44417a3b..74b50d5f94a 100644 --- a/share/qtcreator/qmldesigner/newstateseditor/Main.qml +++ b/share/qtcreator/qmldesigner/newstateseditor/Main.qml @@ -553,7 +553,7 @@ Rectangle { baseState: true defaultChecked: !statesEditorModel.baseState.modelHasDefaultState // TODO Make this one a model property isChecked: root.currentStateInternalId === 0 - thumbnailImageSource: statesEditorModel.baseState.stateImageSource // TODO Get rid of the QVariantMap + thumbnailImageSource: statesEditorModel.baseState.stateImageSource ?? "" // TODO Get rid of the QVariantMap isTiny: root.tinyMode onFocusSignal: root.currentStateInternalId = 0