Commit 856e01e0 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix compilation with more recent Qt 5.15

parent 13520f51
......@@ -53,11 +53,7 @@ JobTrackerSearchWidget::JobTrackerSearchWidget(QWidget *parent)
mSelectColumn->addItem(QStringLiteral("Job Type"), 4);
mSelectColumn->addItem(QStringLiteral("State"), 5);
mSelectColumn->addItem(QStringLiteral("Info"), 6);
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
connect(mSelectColumn, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &JobTrackerSearchWidget::slotColumnChanged);
#else
connect(mSelectColumn, QOverload<int, const QString &>::of(&QComboBox::currentIndexChanged), this, &JobTrackerSearchWidget::slotColumnChanged);
#endif
}
JobTrackerSearchWidget::~JobTrackerSearchWidget()
......
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