diff options
author | Ken Moore <ken@ixsystems.com> | 2016-10-20 08:49:18 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2016-10-20 08:49:18 -0400 |
commit | 606fbe0ee16db0b7afb35df65f4e3129e3504d39 (patch) | |
tree | c420766c036ad243e5c8addabe4b59214518a43a /src-qt5/core | |
parent | Quick update to ensure that 2 monitors are not cloned - only show one of them... (diff) | |
parent | Fix up the stylesheet for the battery monitor. Don't change any properties ot... (diff) | |
download | lumina-606fbe0ee16db0b7afb35df65f4e3129e3504d39.tar.gz lumina-606fbe0ee16db0b7afb35df65f4e3129e3504d39.tar.bz2 lumina-606fbe0ee16db0b7afb35df65f4e3129e3504d39.zip |
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/core')
-rw-r--r-- | src-qt5/core/lumina-desktop/panel-plugins/battery/LBattery.cpp | 4 |
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; } |