From afb4279e09cc59215fce81a24d94cbb9dc07d621 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Tue, 12 May 2020 15:04:46 +0300 Subject: [PATCH] fix View::Settings::updateEffects() area --update effects area should be consistent with settings dialog backgroud. Currently that has changed to more apporpriate "dialogs/background" --- app/view/settings/primaryconfigview.cpp | 4 ++-- app/view/settings/secondaryconfigview.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/view/settings/primaryconfigview.cpp b/app/view/settings/primaryconfigview.cpp index 5edb2cd39..183e19a23 100644 --- a/app/view/settings/primaryconfigview.cpp +++ b/app/view/settings/primaryconfigview.cpp @@ -739,8 +739,8 @@ void PrimaryConfigView::updateEffects() m_background = new Plasma::FrameSvg(this); } - if (m_background->imagePath() != "widgets/panel-background") { - m_background->setImagePath(QStringLiteral("widgets/panel-background")); + if (m_background->imagePath() != "dialogs/background") { + m_background->setImagePath(QStringLiteral("dialogs/background")); } m_background->setEnabledBorders(m_enabledBorders); diff --git a/app/view/settings/secondaryconfigview.cpp b/app/view/settings/secondaryconfigview.cpp index a483a6bd4..093f88c1c 100644 --- a/app/view/settings/secondaryconfigview.cpp +++ b/app/view/settings/secondaryconfigview.cpp @@ -432,8 +432,8 @@ void SecondaryConfigView::updateEffects() m_background = new Plasma::FrameSvg(this); } - if (m_background->imagePath() != "widgets/panel-background") { - m_background->setImagePath(QStringLiteral("widgets/panel-background")); + if (m_background->imagePath() != "dialogs/background") { + m_background->setImagePath(QStringLiteral("dialogs/background")); } m_background->setEnabledBorders(m_enabledBorders);