Commit 58af6279 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Signature was changed in qt6

parent 3f445143
Pipeline #73993 passed with stage
in 16 minutes and 18 seconds
......@@ -31,7 +31,11 @@ void SieveTemplateListWidget::setSieveCapabilities(const QStringList &capabiliti
mCapabilities = capabilities;
}
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QMimeData *SieveTemplateListWidget::mimeData(const QList<QListWidgetItem *> items) const
#else
QMimeData *SieveTemplateListWidget::mimeData(const QList<QListWidgetItem *> &items) const
#endif
{
if (items.isEmpty()) {
return nullptr;
......
......@@ -28,7 +28,11 @@ public:
void setSieveCapabilities(const QStringList &capabilities);
protected:
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QMimeData *mimeData(const QList<QListWidgetItem *> items) const override;
#else
QMimeData *mimeData(const QList<QListWidgetItem *> &items) const override;
#endif
private:
QStringList mCapabilities;
......
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