diff options
Diffstat (limited to 'src/plugins/qmldesigner/components/integration/componentaction.cpp')
-rw-r--r-- | src/plugins/qmldesigner/components/integration/componentaction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/integration/componentaction.cpp b/src/plugins/qmldesigner/components/integration/componentaction.cpp index 59226d78d3c..daedbe8d7dd 100644 --- a/src/plugins/qmldesigner/components/integration/componentaction.cpp +++ b/src/plugins/qmldesigner/components/integration/componentaction.cpp @@ -48,7 +48,7 @@ void ComponentAction::setCurrentIndex(int index) QWidget *ComponentAction::createWidget(QWidget *parent) { - QComboBox *comboBox = new QComboBox(parent); + auto comboBox = new QComboBox(parent); comboBox->setMinimumWidth(120); comboBox->setToolTip(tr("Edit sub components defined in this file.")); comboBox->setModel(m_componentView->standardItemModel()); |