aboutsummaryrefslogtreecommitdiff
path: root/lumina-wm-INCOMPLETE/SSBaseWidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-wm-INCOMPLETE/SSBaseWidget.h')
-rw-r--r--lumina-wm-INCOMPLETE/SSBaseWidget.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/lumina-wm-INCOMPLETE/SSBaseWidget.h b/lumina-wm-INCOMPLETE/SSBaseWidget.h
index 1649cdd5..a6574679 100644
--- a/lumina-wm-INCOMPLETE/SSBaseWidget.h
+++ b/lumina-wm-INCOMPLETE/SSBaseWidget.h
@@ -43,7 +43,13 @@ protected:
ev->accept();
emit InputDetected();
}
-
+ void paintEvent(QPaintEvent*){
+ QStyleOption opt;
+ opt.init(this);
+ QPainter p(this);
+ style()->drawPrimitive(QStyle::PE_Widget, &opt, &p, this);
+ }
+
};
#endif
bgstack15