From f3dbd30ec170405386364ce1c4595926d7caf73b Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Sun, 5 Mar 2017 16:38:17 +0200 Subject: [PATCH] signals to update free area --more specific when the normalThickness or shadow size are changed --- app/dockview.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/dockview.cpp b/app/dockview.cpp index ece5157a9..15e16f4bd 100644 --- a/app/dockview.cpp +++ b/app/dockview.cpp @@ -158,6 +158,9 @@ void DockView::init() connect(&m_theme, &Plasma::Theme::themeChanged, this, &DockView::themeChanged); + connect(this, SIGNAL(normalThicknessChanged()), corona(), SIGNAL(availableScreenRectChanged())); + connect(this, SIGNAL(shadowChanged()), corona(), SIGNAL(availableScreenRectChanged())); + rootContext()->setContextProperty(QStringLiteral("dock"), this); setSource(corona()->kPackage().filePath("lattedockui")); setVisible(true);