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 --- kio/kfile/kpreviewprops.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kio/kfile') diff --git a/kio/kfile/kpreviewprops.cpp b/kio/kfile/kpreviewprops.cpp index 7458fb244..9fd91cc7b 100644 --- a/kio/kfile/kpreviewprops.cpp +++ b/kio/kfile/kpreviewprops.cpp @@ -79,7 +79,7 @@ bool KPreviewPropsPlugin::supports( KFileItemList _items ) void KPreviewPropsPlugin::aboutToShowPage( TQWidget* widget ) { - if ( widget != preview->parent() ) + if ( TQT_TQOBJECT(widget) != TQT_TQOBJECT(preview->parent()) ) return; disconnect( properties, TQT_SIGNAL( aboutToShowPage( TQWidget * ) ), this, TQT_SLOT( aboutToShowPage( TQWidget* ) ) ); -- cgit v1.2.1