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 --- kabc/ldapconfigwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kabc') diff --git a/kabc/ldapconfigwidget.cpp b/kabc/ldapconfigwidget.cpp index 3edccf2ac..51c257389 100644 --- a/kabc/ldapconfigwidget.cpp +++ b/kabc/ldapconfigwidget.cpp @@ -615,7 +615,7 @@ void LdapConfigWidget::setFlags( int flags ) obj = ch2.first(); while ( obj != 0 ) { widget = dynamic_cast (obj); - if ( widget && widget->parent() == this ) { + if ( widget && TQT_BASE_OBJECT(widget->parent()) == TQT_BASE_OBJECT(this) ) { mainLayout->remove( widget ); delete ( widget ); } -- cgit v1.2.1