From 84f23dd033aaa43a75edd06c6cdb83cd0a02ff7d Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Fri, 17 Oct 2008 18:53:20 +0000 Subject: [PATCH] add also enabled borders in the cached name (fixes moving of panel) svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872656 --- panelsvg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panelsvg.cpp b/panelsvg.cpp index d975137f4..b98ae4758 100644 --- a/panelsvg.cpp +++ b/panelsvg.cpp @@ -409,8 +409,8 @@ void PanelSvgPrivate::generateBackground(PanelData *panel) return; } - QString id = QString::fromLatin1("%4_%3_%2_%1_"). - arg(panel->panelSize.width()).arg(panel->panelSize.height()).arg(prefix).arg(q->imagePath()); + QString id = QString::fromLatin1("%5_%4_%3_%2_%1_"). + arg(panel->enabledBorders).arg(panel->panelSize.width()).arg(panel->panelSize.height()).arg(prefix).arg(q->imagePath()); Theme *theme = Theme::defaultTheme(); if (theme->findInCache(id, panel->cachedBackground)) { return;