mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-24 18:26:11 +03:00
Merge pull request #13696 from Chocobo1/warnings
Suppress compiler warnings
This commit is contained in:
commit
2a2a80b0bf
2 changed files with 1 additions and 7 deletions
|
@ -32,12 +32,6 @@
|
|||
|
||||
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)
|
||||
{
|
||||
return static_cast<bool>(torrentStatus.flags & lt::torrent_flags::auto_managed);
|
||||
|
|
|
@ -40,7 +40,7 @@ class TorrentContentModelFolder;
|
|||
|
||||
class TorrentContentModelItem
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(TorrentContentModelItem);
|
||||
Q_DECLARE_TR_FUNCTIONS(TorrentContentModelItem)
|
||||
|
||||
public:
|
||||
enum TreeItemColumns
|
||||
|
|
Loading…
Reference in a new issue