mirror of
https://github.com/c0re100/qBittorrent-Enhanced-Edition.git
synced 2025-01-08 11:57:51 +08:00
Merge pull request #6489 from evsh/fix-fileguard
Fix TorrentFileGuard::setAutoRemove() recursion problem. Closes #6488.
This commit is contained in:
commit
9eb01fbe4d
@ -77,11 +77,6 @@ void TorrentFileGuard::markAsAddedToSession()
|
|||||||
m_wasAdded = true;
|
m_wasAdded = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void TorrentFileGuard::setAutoRemove(bool remove)
|
|
||||||
{
|
|
||||||
setAutoRemove(remove);
|
|
||||||
}
|
|
||||||
|
|
||||||
TorrentFileGuard::AutoDeleteMode TorrentFileGuard::autoDeleteMode()
|
TorrentFileGuard::AutoDeleteMode TorrentFileGuard::autoDeleteMode()
|
||||||
{
|
{
|
||||||
QMetaEnum meta {modeMetaEnum()};
|
QMetaEnum meta {modeMetaEnum()};
|
||||||
|
@ -60,7 +60,7 @@ public:
|
|||||||
|
|
||||||
/// marks the torrent file as loaded (added) into the BitTorrent::Session
|
/// marks the torrent file as loaded (added) into the BitTorrent::Session
|
||||||
void markAsAddedToSession();
|
void markAsAddedToSession();
|
||||||
void setAutoRemove(bool remove);
|
using FileGuard::setAutoRemove;
|
||||||
|
|
||||||
enum AutoDeleteMode // do not change these names: they are stored in config file
|
enum AutoDeleteMode // do not change these names: they are stored in config file
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user