diff options
Diffstat (limited to 'lumina-desktop/desktop-plugins/LDPlugin.h')
-rw-r--r-- | lumina-desktop/desktop-plugins/LDPlugin.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lumina-desktop/desktop-plugins/LDPlugin.h b/lumina-desktop/desktop-plugins/LDPlugin.h index 96a5042f..0e1f6847 100644 --- a/lumina-desktop/desktop-plugins/LDPlugin.h +++ b/lumina-desktop/desktop-plugins/LDPlugin.h @@ -33,10 +33,11 @@ private: public: QSettings *settings; - LDPlugin(QWidget *parent = 0, QString id="unknown") : QFrame(parent){ + LDPlugin(QWidget *parent = 0, QString id="unknown", bool opaque = false) : QFrame(parent){ PLUGID=id; settings = new QSettings("desktop-plugins",PLUGID); - this->setObjectName("LuminaDesktopPlugin"); + if(opaque){ this->setObjectName("LuminaDesktopPluginVisible"); } + else{ this->setObjectName("LuminaDesktopPlugin"); } } ~LDPlugin(){ |