summaryrefslogtreecommitdiffstats
path: root/kabc/ldapconfigwidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-14 01:31:16 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-14 01:31:16 +0000
commit7d7b2c04e147670ed65c5be42de7b7b131122856 (patch)
tree22b58114e71ac6a0e30730eccce10aa4d21e807a /kabc/ldapconfigwidget.cpp
parenta46e33728580cacf68994d5b5d3780a5bcb58e8b (diff)
downloadtdelibs-7d7b2c04e147670ed65c5be42de7b7b131122856.tar.gz
tdelibs-7d7b2c04e147670ed65c5be42de7b7b131122856.zip
Fix kdelibs FTBFS under Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1246982 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kabc/ldapconfigwidget.cpp')
-rw-r--r--kabc/ldapconfigwidget.cpp2
1 files changed, 1 insertions, 1 deletions
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<TQWidget*> (obj);
- if ( widget && widget->parent() == this ) {
+ if ( widget && TQT_BASE_OBJECT(widget->parent()) == TQT_BASE_OBJECT(this) ) {
mainLayout->remove( widget );
delete ( widget );
}