mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 15:56:17 -07:00
Revamp tracker list widget
Internally redesign tracker list widget using Qt Model/View architecture. Make tracker list sortable by any column. PR #19633. Closes #261.
This commit is contained in:
parent
70b438e6d9
commit
c051ee9409
30 changed files with 1786 additions and 1106 deletions
|
@ -1754,14 +1754,14 @@ void Preferences::setPropVisible(const bool visible)
|
|||
setValue(u"TorrentProperties/Visible"_s, visible);
|
||||
}
|
||||
|
||||
QByteArray Preferences::getPropTrackerListState() const
|
||||
QByteArray Preferences::getTrackerListState() const
|
||||
{
|
||||
return value<QByteArray>(u"GUI/Qt6/TorrentProperties/TrackerListState"_s);
|
||||
}
|
||||
|
||||
void Preferences::setPropTrackerListState(const QByteArray &state)
|
||||
void Preferences::setTrackerListState(const QByteArray &state)
|
||||
{
|
||||
if (state == getPropTrackerListState())
|
||||
if (state == getTrackerListState())
|
||||
return;
|
||||
|
||||
setValue(u"GUI/Qt6/TorrentProperties/TrackerListState"_s, state);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue