mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Improve startup window state handling
Replace current "Start qBittorrent minimized" option with "Initial window state" that allows to start qBittorrent as "hidden in system tray" while retaining regular "minimize to panel" functionality. PR #18252. Closes #487.
This commit is contained in:
parent
0d376e7fd6
commit
32e4371208
15 changed files with 151 additions and 59 deletions
|
@ -279,16 +279,6 @@ void Preferences::setStatusbarDisplayed(const bool displayed)
|
|||
setValue(u"Preferences/General/StatusbarDisplayed"_qs, displayed);
|
||||
}
|
||||
|
||||
bool Preferences::startMinimized() const
|
||||
{
|
||||
return value(u"Preferences/General/StartMinimized"_qs, false);
|
||||
}
|
||||
|
||||
void Preferences::setStartMinimized(const bool b)
|
||||
{
|
||||
setValue(u"Preferences/General/StartMinimized"_qs, b);
|
||||
}
|
||||
|
||||
bool Preferences::isSplashScreenDisabled() const
|
||||
{
|
||||
return value(u"Preferences/General/NoSplashScreen"_qs, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue