Ignore drop event in album cover manager

Fixes strange case where albums are duplicated by drag/drop.
This commit is contained in:
Jonas Kvinge
2021-03-07 22:59:08 +01:00
parent 69032db3c3
commit e63859442a
2 changed files with 1 additions and 12 deletions

View File

@@ -50,7 +50,7 @@ class AlbumCoverManagerList : public QListWidget {
QMimeData *mimeData(const QList<QListWidgetItem*> items) const override;
#endif
void dropEvent(QDropEvent *event) override;
void dropEvent(QDropEvent*) override {}
private:
AlbumCoverManager *manager_;