mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 06:02:29 -06:00
Add drag support to torrent content widget
Now qbt supports dragging items from torrent content widget to another app. Closes #5860. PR #21569.
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
#include "torrentcontentmodelitem.h"
|
||||
|
||||
class QFileIconProvider;
|
||||
class QMimeData;
|
||||
class QModelIndex;
|
||||
class QVariant;
|
||||
|
||||
@@ -86,6 +87,8 @@ signals:
|
||||
private:
|
||||
using ColumnInterval = IndexInterval<int>;
|
||||
|
||||
QMimeData *mimeData(const QModelIndexList &indexes) const override;
|
||||
QStringList mimeTypes() const override;
|
||||
void populate();
|
||||
void updateFilesProgress();
|
||||
void updateFilesPriorities();
|
||||
|
||||
Reference in New Issue
Block a user