diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-10-02 02:23:08 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-10-02 02:23:08 +0000 |
commit | bfb063893534c33acd9abd340c80979205dc82f9 (patch) | |
tree | 75f450e2d7a85066bbff654b0a8f014e240197aa /kstyles/light/lightstyle-v2.cpp | |
parent | ccb3b5e486e55a0b014cbc3357c209c3d822ed47 (diff) | |
download | tdelibs-bfb063893534c33acd9abd340c80979205dc82f9.tar.gz tdelibs-bfb063893534c33acd9abd340c80979205dc82f9.zip |
[CRITICAL] Repair borken rendering due to incorrect inherited object logic
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1181768 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kstyles/light/lightstyle-v2.cpp')
-rw-r--r-- | kstyles/light/lightstyle-v2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kstyles/light/lightstyle-v2.cpp b/kstyles/light/lightstyle-v2.cpp index 13569379b..8f673a707 100644 --- a/kstyles/light/lightstyle-v2.cpp +++ b/kstyles/light/lightstyle-v2.cpp @@ -295,7 +295,7 @@ void LightStyleV2::drawPrimitive( PrimitiveElement pe, if ( p && p->device()->devType() == TQInternal::Widget ) { TQWidget *w = (TQWidget *) p->device(); TQWidget *p = w->parentWidget(); - if (p->inherits("TQDockWindow") && ! p->inherits("TQToolBar")) { + if (p->inherits("QDockWindow") && ! p->inherits("QToolBar")) { drawTitle = true; title = p->caption(); } |