Fix Krazy issue: QLatin1String

SVN_SILENT

svn path=/trunk/KDE/kdebase/workspace/; revision=1124081
icc-effect-5.14.5
Martin Gräßlin 2010-05-07 17:53:14 +00:00
parent 8892169a86
commit 62d583c47b
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ void AuroraeButton::paintButton(QPainter *painter, Plasma::FrameSvg *frame, Butt
AuroraeScene *s = static_cast<AuroraeScene*>(scene());
if (s->isAnimating()) {
animationPrefix = prefix;
if (prefix.endsWith("-inactive")) {
if (prefix.endsWith(QLatin1String("-inactive"))) {
animationPrefix.remove("-inactive");
} else {
animationPrefix = animationPrefix + "-inactive";