mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-07-30 08:14:45 +00:00
mobileshellsettings: Show battery % by default
Fixes: https://invent.kde.org/plasma/plasma-mobile/-/issues/458 See hte issue for details.
This commit is contained in:
parent
07c86ddcff
commit
4167045642
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ void MobileShellSettings::setStatusBarScaleFactor(float statusBarScaleFactor)
|
||||||
bool MobileShellSettings::showBatteryPercentage() const
|
bool MobileShellSettings::showBatteryPercentage() const
|
||||||
{
|
{
|
||||||
auto group = KConfigGroup{m_config, GENERAL_CONFIG_GROUP};
|
auto group = KConfigGroup{m_config, GENERAL_CONFIG_GROUP};
|
||||||
return group.readEntry("showBatteryPercentage", false);
|
return group.readEntry("showBatteryPercentage", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MobileShellSettings::setShowBatteryPercentage(bool showBatteryPercentage)
|
void MobileShellSettings::setShowBatteryPercentage(bool showBatteryPercentage)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue