Browse Source

Initialize struct member

adaptive-webui-19844
Chocobo1 8 years ago
parent
commit
3739bcc270
  1. 3
      src/base/bittorrent/torrenthandle.cpp

3
src/base/bittorrent/torrenthandle.cpp

@ -74,6 +74,7 @@ AddTorrentData::AddTorrentData() @@ -74,6 +74,7 @@ AddTorrentData::AddTorrentData()
: resumed(false)
, disableTempPath(false)
, sequential(false)
, firstLastPiecePriority(false)
, hasSeedStatus(false)
, skipChecking(false)
, hasRootFolder(true)
@ -1655,7 +1656,7 @@ void TorrentHandle::handleMetadataReceivedAlert(libt::metadata_received_alert *p @@ -1655,7 +1656,7 @@ void TorrentHandle::handleMetadataReceivedAlert(libt::metadata_received_alert *p
m_speedMonitor.reset();
m_session->handleTorrentPaused(this);
}
// If first/last piece priority was specified when adding this torrent, we can set it
// now that we have metadata:
if (m_needsToSetFirstLastPiecePriority) {

Loading…
Cancel
Save