Commit 75153f6e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make it compile with qt5.15

parent 6fbe32d7
......@@ -433,7 +433,11 @@ KPrefsWidRadios::KPrefsWidRadios(KConfigSkeleton::ItemEnum *item, QWidget *paren
mBox = new QGroupBox(mItem->label(), parent);
new QVBoxLayout(mBox);
mGroup = new QButtonGroup(parent);
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
connect(mGroup, qOverload<int>(&QButtonGroup::buttonClicked), this, &KPrefsWidRadios::changed);
#else
connect(mGroup, &QButtonGroup::buttonClicked, this, &KPrefsWidRadios::changed);
#endif
}
KPrefsWidRadios::~KPrefsWidRadios()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment