Draw progress bar in disabled style

This commit is contained in:
Chocobo1
2021-03-18 12:04:46 +08:00
parent 6ed2e2694f
commit be2cdca1e9
3 changed files with 24 additions and 3 deletions

View File

@@ -110,7 +110,7 @@ private slots:
private:
void configure();
QString displayValue(const BitTorrent::Torrent *torrent, int column) const;
QVariant internalValue(const BitTorrent::Torrent *torrent, int column, bool alt = false) const;
QVariant internalValue(const BitTorrent::Torrent *torrent, int column, bool alt) const;
QList<BitTorrent::Torrent *> m_torrentList; // maps row number to torrent handle
QHash<BitTorrent::Torrent *, int> m_torrentMap; // maps torrent handle to row number