aboutsummaryrefslogtreecommitdiff
path: root/src-qt5
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5')
-rw-r--r--src-qt5/core/lumina-desktop/panel-plugins/battery/LBattery.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/core/lumina-desktop/panel-plugins/battery/LBattery.cpp b/src-qt5/core/lumina-desktop/panel-plugins/battery/LBattery.cpp
index 7b7f5deb..af081191 100644
--- a/src-qt5/core/lumina-desktop/panel-plugins/battery/LBattery.cpp
+++ b/src-qt5/core/lumina-desktop/panel-plugins/battery/LBattery.cpp
@@ -80,8 +80,8 @@ void LBattery::updateBattery(bool force){
//Play some audio warning chime when
LSession::handle()->playAudioFile(LOS::LuminaShare()+"low-battery.ogg");
}
- if(icon==0){ label->setStyleSheet("background: red;"); }
- else{ label->setStyleSheet("background: transparent;"); }
+ if(icon==0){ label->setStyleSheet("QLabel{ background: red;}"); }
+ else{ label->setStyleSheet("QLabel{ background: transparent;}"); }
iconOld = icon;
}
bgstack15