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:
parent
3ad89c10a4
commit
afb4279e09
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user