Don't show added torrent notification during startup.

This commit is contained in:
sledgehammer999 2016-04-30 01:38:24 +03:00
parent ef6e848756
commit 0143799623
4 changed files with 7 additions and 3 deletions

View file

@ -2458,6 +2458,9 @@ void Session::createTorrentHandle(const libt::torrent_handle &nativeHandle)
// Send torrent addition signal
emit torrentAdded(torrent);
// Send new torrent signal
if (!data.resumed)
emit torrentNew(torrent);
}
void Session::handleAddTorrentAlert(libt::add_torrent_alert *p)