diff --git a/src/base/torrentfileguard.cpp b/src/base/torrentfileguard.cpp index 2fc1306e7..5369ea510 100644 --- a/src/base/torrentfileguard.cpp +++ b/src/base/torrentfileguard.cpp @@ -77,11 +77,6 @@ void TorrentFileGuard::markAsAddedToSession() m_wasAdded = true; } -void TorrentFileGuard::setAutoRemove(bool remove) -{ - setAutoRemove(remove); -} - TorrentFileGuard::AutoDeleteMode TorrentFileGuard::autoDeleteMode() { QMetaEnum meta {modeMetaEnum()}; diff --git a/src/base/torrentfileguard.h b/src/base/torrentfileguard.h index 1c8871764..b89651592 100644 --- a/src/base/torrentfileguard.h +++ b/src/base/torrentfileguard.h @@ -60,7 +60,7 @@ public: /// marks the torrent file as loaded (added) into the BitTorrent::Session void markAsAddedToSession(); - void setAutoRemove(bool remove); + using FileGuard::setAutoRemove; enum AutoDeleteMode // do not change these names: they are stored in config file {