Commit 3a37a2f6 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Signature was changed in qt6 (scripted)

parent 28a7552f
Pipeline #73994 failed with stage
in 5 minutes and 25 seconds
......@@ -188,7 +188,11 @@ QUrl AttachmentIconItem::tempFileForAttachment()
return mTempFile;
}
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QMimeData *AttachmentIconView::mimeData(const QList<QListWidgetItem *> items) const // clazy:exclude=function-args-by-ref
#else
QMimeData *AttachmentIconView::mimeData(const QList<QListWidgetItem *> &items) const // clazy:exclude=function-args-by-ref
#endif
{
// create a list of the URL:s that we want to drag
QList<QUrl> urls;
......
......@@ -33,7 +33,11 @@ public:
Q_REQUIRED_RESULT QMimeData *mimeData() const;
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
void startDrag(Qt::DropActions supportedActions) override;
void keyPressEvent(QKeyEvent *event) override;
};
......
Supports Markdown
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