mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-13 01:57:07 -07:00
Do not report torrent being checked as queued
This commit is contained in:
parent
09da69918e
commit
e142aafea1
1 changed files with 7 additions and 3 deletions
|
@ -57,9 +57,13 @@ TorrentModelItem::State TorrentModelItem::state() const
|
||||||
return m_torrent.is_seed() ? STATE_PAUSED_UP : STATE_PAUSED_DL;
|
return m_torrent.is_seed() ? STATE_PAUSED_UP : STATE_PAUSED_DL;
|
||||||
}
|
}
|
||||||
if(m_torrent.is_queued()) {
|
if(m_torrent.is_queued()) {
|
||||||
m_icon = QIcon(":/Icons/skin/queued.png");
|
if(m_torrent.state() != torrent_status::queued_for_checking
|
||||||
m_fgColor = QColor("grey");
|
&& m_torrent.state() != torrent_status::checking_resume_data
|
||||||
return m_torrent.is_seed() ? STATE_QUEUED_UP : STATE_QUEUED_DL;
|
&& m_torrent.state() != torrent_status::checking_files) {
|
||||||
|
m_icon = QIcon(":/Icons/skin/queued.png");
|
||||||
|
m_fgColor = QColor("grey");
|
||||||
|
return m_torrent.is_seed() ? STATE_QUEUED_UP : STATE_QUEUED_DL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// Other states
|
// Other states
|
||||||
switch(m_torrent.state()) {
|
switch(m_torrent.state()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue