summaryrefslogtreecommitdiffstats
path: root/kio/kfile/kpreviewprops.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kio/kfile/kpreviewprops.cpp')
-rw-r--r--kio/kfile/kpreviewprops.cpp2
1 files changed, 1 insertions, 1 deletions
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* ) ) );