summaryrefslogtreecommitdiffstats
path: root/mappingtreewidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mappingtreewidget.cpp')
-rw-r--r--mappingtreewidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mappingtreewidget.cpp b/mappingtreewidget.cpp
index 38e6c9a..6c6a495 100644
--- a/mappingtreewidget.cpp
+++ b/mappingtreewidget.cpp
@@ -56,7 +56,7 @@ MappingTreeWidget::MappingTreeWidget(QWidget *parent) : QWidget(parent){
* but keep them for future use :) */
mTypeBox = new QComboBox;
mTypeBox->setModel(mTypesModel);
- connect(mTypeBox, QOverload<const QString &>::of(&QComboBox::currentIndexChanged), this, &MappingTreeWidget::typeChanged);
+ connect(mTypeBox, &QComboBox::currentTextChanged, this, &MappingTreeWidget::typeChanged);
mTypeBox->setHidden(true);
mAddType = new QPushButton(tr("Add &type"));
connect(mAddType, &QPushButton::clicked, this, &MappingTreeWidget::addType);