mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-22 14:23:35 -07:00
parent
a018cfa56c
commit
4578561823
1 changed files with 7 additions and 1 deletions
|
@ -463,7 +463,13 @@ qlonglong TorrentImpl::wastedSize() const
|
|||
|
||||
QString TorrentImpl::currentTracker() const
|
||||
{
|
||||
return QString::fromStdString(m_nativeStatus.current_tracker);
|
||||
if (!m_nativeStatus.current_tracker.empty())
|
||||
return QString::fromStdString(m_nativeStatus.current_tracker);
|
||||
|
||||
if (!m_trackerEntryStatuses.isEmpty())
|
||||
return m_trackerEntryStatuses.constFirst().url;
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
Path TorrentImpl::savePath() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue