Skip to content
Snippets Groups Projects
Commit 2614fedb authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

w/o QOverload

parent 620c004e
No related branches found
No related tags found
1 merge request!2260simplifications discovered while reviewing signals
......@@ -46,7 +46,7 @@ protected:
m_combo->setCurrentIndex(d.currentIndex());
m_combo->setMaxVisibleItems(m_combo->count());
QObject::connect(m_combo, QOverload<int>::of(&QComboBox::currentIndexChanged),
QObject::connect(m_combo, &QComboBox::currentIndexChanged,
[this, &d](int current) {
clear();
m_ec->setCurrentIndex(this, current, d);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment