mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Add show/hide statusbar option
This commit is contained in:
parent
1f9ccb44a3
commit
0940a8a764
5 changed files with 32 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue