mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 12:59:56 -07:00
Remove unused function
This commit is contained in:
parent
6b4a4517ec
commit
7ddd5e9bc3
1 changed files with 0 additions and 6 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue