aboutsummaryrefslogtreecommitdiff
path: root/lumina-wm-INCOMPLETE/SSBaseWidget.cpp
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-11-06 12:47:25 -0500
committerKen Moore <moorekou@gmail.com>2015-11-06 12:47:25 -0500
commit42aa5f9411b55f7dd3c66f215db9080cc76e112b (patch)
treecaae506056b27f31eb533706b19953d25a2f5796 /lumina-wm-INCOMPLETE/SSBaseWidget.cpp
parentA couple big changes: (diff)
downloadlumina-42aa5f9411b55f7dd3c66f215db9080cc76e112b.tar.gz
lumina-42aa5f9411b55f7dd3c66f215db9080cc76e112b.tar.bz2
lumina-42aa5f9411b55f7dd3c66f215db9080cc76e112b.zip
Couple minor changes to the screensaver functionality: Ensure the SSBaseWidget background color is set properly (so it can now be different from the main LScreenSaver background - as designed), set the main background color gray (for now - until we add custom backgrounds in), and disable the debugging on the main screensaver class (no need for all the event debugging info to be seen any more - is working fine).
Diffstat (limited to 'lumina-wm-INCOMPLETE/SSBaseWidget.cpp')
-rw-r--r--lumina-wm-INCOMPLETE/SSBaseWidget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lumina-wm-INCOMPLETE/SSBaseWidget.cpp b/lumina-wm-INCOMPLETE/SSBaseWidget.cpp
index 599d71fb..83b82ff8 100644
--- a/lumina-wm-INCOMPLETE/SSBaseWidget.cpp
+++ b/lumina-wm-INCOMPLETE/SSBaseWidget.cpp
@@ -16,6 +16,7 @@ static QStringList validPlugs;
SSBaseWidget::SSBaseWidget(QWidget *parent, QSettings *set) : QWidget(parent){
if(validPlugs.isEmpty()){ validPlugs << "none"; } //add more later
settings = set; //needed to pass along for plugins to read any special options/settings
+ this->setObjectName("LuminaBaseSSWidget");
ANIM = 0;
this->setMouseTracking(true);
}
@@ -54,7 +55,7 @@ void SSBaseWidget::startPainting(){
}else{
style = "background: black;";
}
- this->setStyleSheet(style);
+ this->setStyleSheet("QWidget#LuminaBaseSSWidget{ "+style+"}");
this->repaint();
//If not a stylesheet-based plugin - set it here
if(cplug!="none"){
bgstack15