From f487d32594828bf7f5acbf6627ed3e6e57861aa2 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Fri, 25 Sep 2020 01:08:24 +0800 Subject: [PATCH] Fix initialization order --- src/base/bittorrent/torrenthandleimpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/bittorrent/torrenthandleimpl.cpp b/src/base/bittorrent/torrenthandleimpl.cpp index c068a6b5a..bbb260449 100644 --- a/src/base/bittorrent/torrenthandleimpl.cpp +++ b/src/base/bittorrent/torrenthandleimpl.cpp @@ -125,8 +125,8 @@ TorrentHandleImpl::TorrentHandleImpl(Session *session, const lt::torrent_handle , m_seedingTimeLimit(params.seedingTimeLimit) , m_hasSeedStatus(params.hasSeedStatus) , m_hasRootFolder(params.hasRootFolder) - , m_useAutoTMM(params.savePath.isEmpty()) , m_hasFirstLastPiecePriority(params.firstLastPiecePriority) + , m_useAutoTMM(params.savePath.isEmpty()) , m_ltAddTorrentParams(params.ltAddTorrentParams) { if (m_useAutoTMM)