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

mimeData signature was changed in qt6

parent b5d115f0
......@@ -97,7 +97,11 @@ DialogViewConfigurationWidget::DialogViewConfigurationWidget(QWidget *parent)
setAlternatingRowColors(true);
}
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QMimeData* DialogViewConfigurationWidget::mimeData(const QList<QListWidgetItem*> items) const
#else
QMimeData* DialogViewConfigurationWidget::mimeData(const QList<QListWidgetItem *> &items) const
#endif
{
if (items.isEmpty())
return 0;
......
......@@ -80,7 +80,11 @@ public:
void dropped(DialogViewConfigurationWidget* list, int index, DialogViewConfigurationItem* item);
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
bool dropMimeData(int index, const QMimeData * mimeData, Qt::DropAction action) override;
Qt::DropActions supportedDropActions() const 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