add also enabled borders in the cached name (fixes moving of panel)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872656
This commit is contained in:
parent
42d446525d
commit
84f23dd033
@ -409,8 +409,8 @@ void PanelSvgPrivate::generateBackground(PanelData *panel)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
QString id = QString::fromLatin1("%4_%3_%2_%1_").
|
QString id = QString::fromLatin1("%5_%4_%3_%2_%1_").
|
||||||
arg(panel->panelSize.width()).arg(panel->panelSize.height()).arg(prefix).arg(q->imagePath());
|
arg(panel->enabledBorders).arg(panel->panelSize.width()).arg(panel->panelSize.height()).arg(prefix).arg(q->imagePath());
|
||||||
Theme *theme = Theme::defaultTheme();
|
Theme *theme = Theme::defaultTheme();
|
||||||
if (theme->findInCache(id, panel->cachedBackground)) {
|
if (theme->findInCache(id, panel->cachedBackground)) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user