SVN commit 886700 by ereslibre: Yes, yes... my memory is very bad. Didn't remember this fake KComponentData that was created exactly for this situation (when we didn't have a KComponentData and needed to read some configuration bit). Thanks to Pino and Maksim for reminding me that my memory is bad :) M +3 -4 kstyle.cpp --- trunk/KDE/kdelibs/kdeui/kernel/kstyle.cpp #886699:886700 @@ -400,10 +400,9 @@ if (QAbstractItemView *itemView = qobject_cast(w) ) { itemView->viewport()->setAttribute(Qt::WA_Hover); - if (KGlobal::hasMainComponent()) { // are we on a KDE app ? - if (QTreeView *treeView = qobject_cast(w)) { - treeView->setAnimated(KGlobalSettings::graphicEffectsLevel() & KGlobalSettings::SimpleAnimationEffects); - } + if (QTreeView *treeView = qobject_cast(w)) { + KGlobalSettings::GraphicEffects graphicEffects = (KGlobalSettings::GraphicEffects) d->m_componentData.config()->group("KDE-Global GUI Settings").readEntry("GraphicEffectsLevel", (int) KGlobalSettings::NoEffects); + treeView->setAnimated(graphicEffects & KGlobalSettings::SimpleAnimationEffects); } }