mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-09 00:58:15 +03:00
add shadows to config window
This commit is contained in:
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…
x
Reference in New Issue
Block a user