aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2019-10-16 06:48:32 +0200
committerChristian Stenger <christian.stenger@qt.io>2019-10-16 04:55:42 +0000
commitd5320bb407f61abca975849700bd32b2e7e75086 (patch)
treef9478ad6b0aaf56560aa2e401c0a4c9e7b916643
parent062a0a9dbd8391accdefccd2f9a43d4190b08424 (diff)
QmlDesigner: Fix compile for old gcc
Amends 1278c01c1cc4e42aa52b410523b5d4aedab2e38b. Change-Id: I85e4ac570649cdeb3a1f20c867371652f553d80a Reviewed-by: David Schulz <david.schulz@qt.io>
-rw-r--r--src/plugins/qmldesigner/components/bindingeditor/bindingeditor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/bindingeditor/bindingeditor.h b/src/plugins/qmldesigner/components/bindingeditor/bindingeditor.h
index ccb3a1d468..7861400477 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<BindingEditorDialog::BindingOption> m_bindings;
bool m_lock = false;
- const QString undefinedString = "[Undefined]";
+ const QString undefinedString = {"[Undefined]"};
};
class BindingEditor : public QObject