mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
When qBT is launched with a magnet don't show it in the transferlist while the metadata are being loaded in the background.
This commit is contained in:
parent
6f5f661f30
commit
54eaf51880
1 changed files with 4 additions and 1 deletions
|
@ -235,7 +235,10 @@ void TorrentModel::populate() {
|
|||
std::vector<torrent_handle>::const_iterator it = torrents.begin();
|
||||
std::vector<torrent_handle>::const_iterator itend = torrents.end();
|
||||
for ( ; it != itend; ++it) {
|
||||
addTorrent(QTorrentHandle(*it));
|
||||
const QTorrentHandle h(*it);
|
||||
if (HiddenData::hasData(h.hash()))
|
||||
continue;
|
||||
addTorrent(h);
|
||||
}
|
||||
// Refresh timer
|
||||
connect(&m_refreshTimer, SIGNAL(timeout()), SLOT(forceModelRefresh()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue