mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -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();
|
||||
|
||||
Reference in New Issue
Block a user