mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-06 23:52:31 -06:00
Fix torrent deletion
This commit is contained in:
@@ -26,7 +26,7 @@ public:
|
||||
inline int columnCount() const { return NB_COLUMNS; }
|
||||
QVariant data(int column, int role = Qt::DisplayRole) const;
|
||||
bool setData(int column, const QVariant &value, int role = Qt::DisplayRole);
|
||||
inline QString hash() const { return m_torrent.hash(); }
|
||||
inline QString hash() const { return m_hash; }
|
||||
|
||||
signals:
|
||||
void labelChanged(QString previous, QString current);
|
||||
@@ -42,6 +42,7 @@ private:
|
||||
QString m_name;
|
||||
mutable QIcon m_icon;
|
||||
mutable QColor m_fgColor;
|
||||
QString m_hash;
|
||||
};
|
||||
|
||||
class TorrentModel : public QAbstractListModel
|
||||
|
||||
Reference in New Issue
Block a user