aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/components/formeditor/backgroundaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qmldesigner/components/formeditor/backgroundaction.cpp')
-rw-r--r--src/plugins/qmldesigner/components/formeditor/backgroundaction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/formeditor/backgroundaction.cpp b/src/plugins/qmldesigner/components/formeditor/backgroundaction.cpp
index f763aa9b5a2..356fbf4f32b 100644
--- a/src/plugins/qmldesigner/components/formeditor/backgroundaction.cpp
+++ b/src/plugins/qmldesigner/components/formeditor/backgroundaction.cpp
@@ -55,7 +55,7 @@ QIcon iconForColor(const QColor &color) {
QWidget *BackgroundAction::createWidget(QWidget *parent)
{
- QComboBox *comboBox = new QComboBox(parent);
+ auto comboBox = new QComboBox(parent);
comboBox->setFixedWidth(42);
for (int i = 0; i < colors().count(); ++i) {