diff options
Diffstat (limited to 'lumina-desktop/panel-plugins/battery/LBattery.h')
-rw-r--r-- | lumina-desktop/panel-plugins/battery/LBattery.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lumina-desktop/panel-plugins/battery/LBattery.h b/lumina-desktop/panel-plugins/battery/LBattery.h index a4586b37..3d31faad 100644 --- a/lumina-desktop/panel-plugins/battery/LBattery.h +++ b/lumina-desktop/panel-plugins/battery/LBattery.h @@ -36,6 +36,10 @@ private slots: QString getRemainingTime(); public slots: + void LocaleChange(){ + updateBattery(true); + } + void OrientationChange(){ if(this->layout()->direction()==QBoxLayout::LeftToRight){ label->setFixedSize( QSize(this->height(), this->height()) ); |