mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06: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:
committed by
GitHub
parent
0d376e7fd6
commit
32e4371208
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user