diff --git a/src/qt/qvaluecombobox.cpp b/src/qt/qvaluecombobox.cpp --- a/src/qt/qvaluecombobox.cpp +++ b/src/qt/qvaluecombobox.cpp @@ -6,8 +6,10 @@ QValueComboBox::QValueComboBox(QWidget *parent) : QComboBox(parent), role(Qt::UserRole) { - connect(this, SIGNAL(currentIndexChanged(int)), this, - SLOT(handleSelectionChanged(int))); + connect( + this, + static_cast(&QComboBox::currentIndexChanged), + this, &QValueComboBox::handleSelectionChanged); } QVariant QValueComboBox::value() const {