mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-14 16:57:55 +00:00
Remove unused function
This commit is contained in:
parent
6b4a4517ec
commit
7ddd5e9bc3
@ -32,12 +32,6 @@
|
|||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
bool isPaused(const lt::torrent_status &torrentStatus)
|
|
||||||
{
|
|
||||||
return ((torrentStatus.flags & lt::torrent_flags::paused)
|
|
||||||
&& !(torrentStatus.flags & lt::torrent_flags::auto_managed));
|
|
||||||
}
|
|
||||||
|
|
||||||
bool isAutoManaged(const lt::torrent_status &torrentStatus)
|
bool isAutoManaged(const lt::torrent_status &torrentStatus)
|
||||||
{
|
{
|
||||||
return static_cast<bool>(torrentStatus.flags & lt::torrent_flags::auto_managed);
|
return static_cast<bool>(torrentStatus.flags & lt::torrent_flags::auto_managed);
|
||||||
|
Loading…
Reference in New Issue
Block a user