Commit d2aef53e authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Revert "Make it compile against qt5.15 without deprecated method"

This reverts commit 44a35b87.
parent 0ea5bb32
......@@ -86,11 +86,7 @@ ScreenshotDialog::ScreenshotDialog(QDialog *parent, Qt::WindowFlags flags)
QTimer::singleShot(1000 * m_dialog->delaySpinBox->value(), this, &ScreenshotDialog::takeScreenshot);
});
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
connect(m_dialog->areaComboBox, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, [this] (int index) {
#else
connect(m_dialog->areaComboBox, static_cast<void (QComboBox::*)(int, const QString &)>(&QComboBox::currentIndexChanged) , this, [this] (int index) {
#endif
m_dialog->includeBordersCheckbox->setEnabled(index == 2);
});
......
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