Make quit/minimise-to-systray on close configurable.
BUG:103
This commit is contained in:
committed by
craig.p.drummond@gmail.com
parent
bb967b9d47
commit
6e10970251
@@ -275,6 +275,11 @@ bool Settings::useSystemTray()
|
||||
return GET_BOOL("useSystemTray", false);
|
||||
}
|
||||
|
||||
bool Settings::minimiseOnClose()
|
||||
{
|
||||
return GET_BOOL("minimiseOnClose", true);
|
||||
}
|
||||
|
||||
bool Settings::showPopups()
|
||||
{
|
||||
return GET_BOOL("showPopups", false);
|
||||
@@ -651,6 +656,13 @@ void Settings::saveUseSystemTray(bool v)
|
||||
}
|
||||
}
|
||||
|
||||
void Settings::saveMinimiseOnClose(bool v)
|
||||
{
|
||||
if (v!=minimiseOnClose()) {
|
||||
SET_VALUE_MOD("minimiseOnClose", v);
|
||||
}
|
||||
}
|
||||
|
||||
void Settings::saveShowPopups(bool v)
|
||||
{
|
||||
if (v!=showPopups()) {
|
||||
|
||||
Reference in New Issue
Block a user