Commit 7803e03c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make it compile against qt5.15

parent d3fe779b
......@@ -192,7 +192,11 @@ QHBoxLayout* CrontabWidget::createCronSelector() {
}
connect(group, static_cast<void (QButtonGroup::*)(QAbstractButton *)>(&QButtonGroup::buttonClicked), this, &CrontabWidget::refreshCron);
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
connect(d->otherUsers, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, &CrontabWidget::checkOtherUsers);
#else
connect(d->otherUsers, static_cast<void (QComboBox::*)(int, const QString &)>(&QComboBox::currentIndexChanged) , this, &CrontabWidget::checkOtherUsers);
#endif
layout->addStretch(1);
......
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