summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Gruendl <henning.gruendl@qt.io>2022-11-28 12:42:28 +0100
committerHenning Gründl <henning.gruendl@qt.io>2022-11-28 11:46:24 +0000
commit5b19c034ed28053e52988115464dd1897262955b (patch)
tree46cd8aead4cd069b7b34bf540b1e111ac691dc8b
parent4b72ac3022ecf636c3feeaa596b9bbeaf4cc97d0 (diff)
downloadqt-creator-5b19c034ed28053e52988115464dd1897262955b.tar.gz
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 <thomas.hartmann@qt.io>
-rw-r--r--share/qtcreator/qmldesigner/newstateseditor/Main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qtcreator/qmldesigner/newstateseditor/Main.qml b/share/qtcreator/qmldesigner/newstateseditor/Main.qml
index 6be44417a3..74b50d5f94 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