aboutsummaryrefslogtreecommitdiff
path: root/src/qt/qvaluecombobox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt/qvaluecombobox.cpp')
-rw-r--r--src/qt/qvaluecombobox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/qvaluecombobox.cpp b/src/qt/qvaluecombobox.cpp
index c2c0e84d65..76f94ecf85 100644
--- a/src/qt/qvaluecombobox.cpp
+++ b/src/qt/qvaluecombobox.cpp
@@ -7,7 +7,7 @@
QValueComboBox::QValueComboBox(QWidget *parent) :
QComboBox(parent), role(Qt::UserRole)
{
- connect(this, SIGNAL(currentIndexChanged(int)), this, SLOT(handleSelectionChanged(int)));
+ connect(this, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, &QValueComboBox::handleSelectionChanged);
}
QVariant QValueComboBox::value() const