mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 20:58:07 -06:00
Add show/hide statusbar option
This commit is contained in:
committed by
Vladimir Golovnev (Glassez)
parent
1f9ccb44a3
commit
0940a8a764
@@ -181,6 +181,16 @@ void Preferences::setToolbarDisplayed(bool displayed)
|
||||
setValue("Preferences/General/ToolbarDisplayed", displayed);
|
||||
}
|
||||
|
||||
bool Preferences::isStatusbarDisplayed() const
|
||||
{
|
||||
return value("Preferences/General/StatusbarDisplayed", true).toBool();
|
||||
}
|
||||
|
||||
void Preferences::setStatusbarDisplayed(bool displayed)
|
||||
{
|
||||
setValue("Preferences/General/StatusbarDisplayed", displayed);
|
||||
}
|
||||
|
||||
bool Preferences::minimizeToTray() const
|
||||
{
|
||||
return value("Preferences/General/MinimizeToTray", false).toBool();
|
||||
|
||||
@@ -119,6 +119,8 @@ public:
|
||||
void setSystrayIntegration(bool enabled);
|
||||
bool isToolbarDisplayed() const;
|
||||
void setToolbarDisplayed(bool displayed);
|
||||
bool isStatusbarDisplayed() const;
|
||||
void setStatusbarDisplayed(bool displayed);
|
||||
bool minimizeToTray() const;
|
||||
void setMinimizeToTray(bool b);
|
||||
bool closeToTray() const;
|
||||
|
||||
Reference in New Issue
Block a user