mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-08 16:42:30 -06:00
Use std::optional<bool> instead of custom TriStateBool
This commit is contained in:
@@ -40,8 +40,6 @@ class QDateTime;
|
||||
class QJsonObject;
|
||||
class QRegularExpression;
|
||||
|
||||
class TriStateBool;
|
||||
|
||||
namespace RSS
|
||||
{
|
||||
struct AutoDownloadRuleData;
|
||||
@@ -81,8 +79,8 @@ namespace RSS
|
||||
|
||||
QString savePath() const;
|
||||
void setSavePath(const QString &savePath);
|
||||
TriStateBool addPaused() const;
|
||||
void setAddPaused(TriStateBool addPaused);
|
||||
std::optional<bool> addPaused() const;
|
||||
void setAddPaused(std::optional<bool> addPaused);
|
||||
std::optional<BitTorrent::TorrentContentLayout> torrentContentLayout() const;
|
||||
void setTorrentContentLayout(std::optional<BitTorrent::TorrentContentLayout> contentLayout);
|
||||
QString assignedCategory() const;
|
||||
|
||||
Reference in New Issue
Block a user