summaryrefslogtreecommitdiffstats
path: root/src/designer/src/lib/shared/newformwidget.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-03-26 15:15:07 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2020-03-26 16:09:11 +0100
commit24b8e654a0d6485d447da54ba017a1eb9ec3f22d (patch)
tree8b173f16bcba3f9928a7df353d535ecefa32d955 /src/designer/src/lib/shared/newformwidget.cpp
parent920ffd21b15f79c47cc18b69344a90836e100005 (diff)
Fix assorted QComboBox::currentIndexChanged overload compile errors
Change-Id: I9d1c9126b526161aa58c9068bca30ef6dd1ac7fb Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/designer/src/lib/shared/newformwidget.cpp')
-rw-r--r--src/designer/src/lib/shared/newformwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/designer/src/lib/shared/newformwidget.cpp b/src/designer/src/lib/shared/newformwidget.cpp
index 67e08c475..dda60fd16 100644
--- a/src/designer/src/lib/shared/newformwidget.cpp
+++ b/src/designer/src/lib/shared/newformwidget.cpp
@@ -179,7 +179,7 @@ NewFormWidget::NewFormWidget(QDesignerFormEditorInterface *core, QWidget *parent
m_deviceProfiles = settings.deviceProfiles();
m_ui->profileComboBox->addItem(tr("None"));
connect(m_ui->profileComboBox,
- QOverload<int, const QString &>::of(&QComboBox::currentIndexChanged),
+ QOverload<int>::of(&QComboBox::currentIndexChanged),
this, &NewFormWidget::slotDeviceProfileIndexChanged);
if (m_deviceProfiles.isEmpty()) {
m_ui->profileComboBox->setEnabled(false);