From d5320bb407f61abca975849700bd32b2e7e75086 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Wed, 16 Oct 2019 06:48:32 +0200 Subject: [PATCH] QmlDesigner: Fix compile for old gcc Amends 1278c01c1cc4e42aa52b410523b5d4aedab2e38b. Change-Id: I85e4ac570649cdeb3a1f20c867371652f553d80a Reviewed-by: David Schulz --- .../qmldesigner/components/bindingeditor/bindingeditor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmldesigner/components/bindingeditor/bindingeditor.h b/src/plugins/qmldesigner/components/bindingeditor/bindingeditor.h index ccb3a1d4683..78614004770 100644 --- a/src/plugins/qmldesigner/components/bindingeditor/bindingeditor.h +++ b/src/plugins/qmldesigner/components/bindingeditor/bindingeditor.h @@ -134,7 +134,7 @@ private: QComboBox *m_comboBoxProperty = nullptr; QList m_bindings; bool m_lock = false; - const QString undefinedString = "[Undefined]"; + const QString undefinedString = {"[Undefined]"}; }; class BindingEditor : public QObject