1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-12 01:17:55 +03:00

fix View::Settings::updateEffects() area

--update effects area should be consistent with
settings dialog backgroud. Currently that has
changed to more apporpriate "dialogs/background"
This commit is contained in:
Michail Vourlakos 2020-05-12 15:04:46 +03:00
parent 3ad89c10a4
commit afb4279e09
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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);