Fix Krazy issue: QLatin1String

SVN_SILENT

svn path=/trunk/KDE/kdebase/workspace/; revision=1124081
This commit is contained in:
Martin Gräßlin 2010-05-07 17:53:14 +00:00
parent 8892169a86
commit 62d583c47b

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";