summaryrefslogtreecommitdiffstats
path: root/kio/kfile/kfilepreview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kio/kfile/kfilepreview.cpp')
-rw-r--r--kio/kfile/kfilepreview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kio/kfile/kfilepreview.cpp b/kio/kfile/kfilepreview.cpp
index c0f73949e..8ce3e87af 100644
--- a/kio/kfile/kfilepreview.cpp
+++ b/kio/kfile/kfilepreview.cpp
@@ -53,7 +53,7 @@ KFilePreview::~KFilePreview()
// don't delete the preview, we can reuse it
// (it will get deleted by ~KDirOperator)
- if ( preview && preview->tqparentWidget() == this ) {
+ if ( preview && preview->parentWidget() == this ) {
preview->reparent(0L, 0, TQPoint(0, 0), false);
}
}