Commit dcb24c27 authored by Laurent Montel's avatar Laurent Montel 😁

Make it compile against qt5.15

parent 394f8260
......@@ -67,7 +67,11 @@ AuthDialog::AuthDialog(const QString &actionId,
setupUi(this);
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
connect(userCB, QOverload<int>::of(&QComboBox::currentIndexChanged),
#else
connect(userCB, QOverload<int, const QString &>::of(&QComboBox::currentIndexChanged),
#endif
this, &AuthDialog::checkSelectedUser);
connect(buttonBox, &QDialogButtonBox::accepted, this, &AuthDialog::okClicked);
......
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