From 7d7b2c04e147670ed65c5be42de7b7b131122856 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 14 Aug 2011 01:31:16 +0000 Subject: Fix kdelibs FTBFS under Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1246982 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kstyles/asteroid/asteroid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kstyles/asteroid') diff --git a/kstyles/asteroid/asteroid.cpp b/kstyles/asteroid/asteroid.cpp index 578d8f9e2..cef3b00f8 100644 --- a/kstyles/asteroid/asteroid.cpp +++ b/kstyles/asteroid/asteroid.cpp @@ -111,7 +111,7 @@ void AsteroidStyle::polish(TQWidget *w) wp.setColor(TQColorGroup::Mid, wp.active().color(TQColorGroup::Button).dark(150)); // Which GUI element(s) does this correspond to? bool isProtectedObject = false; - TQObject *curparent = w; + TQObject *curparent = TQT_TQOBJECT(w); while (curparent) { if (curparent->inherits("KonqFileTip") || curparent->inherits("AppletItem")) { isProtectedObject = true; -- cgit v1.2.1