add shadows to config window

pull/1/head
Johan Smith Agudelo Rodriguez 8 years ago
parent 6e37702a95
commit 57797c51f5

@ -21,6 +21,7 @@
#include "dockconfigview.h"
#include "dockview.h"
#include "dockcorona.h"
#include "panelshadows_p.h"
#include <QQuickItem>
#include <QQmlContext>
@ -78,6 +79,7 @@ void DockConfigView::init()
{
setDefaultAlphaBuffer(true);
setColor(Qt::transparent);
PanelShadows::self()->addWindow(this);
rootContext()->setContextProperty(QStringLiteral("dock"), m_dockView);
rootContext()->setContextProperty(QStringLiteral("dockConfig"), this);
KDeclarative::KDeclarative kdeclarative;

@ -49,7 +49,6 @@ public:
void init() override;
Qt::WindowFlags wFlags() const;
public slots:
Q_INVOKABLE void setSticker(bool blockFocusLost);
Q_INVOKABLE void syncGeometry();

Loading…
Cancel
Save