diff options
Diffstat (limited to 'kview/kviewcanvas/kimagecanvas.h')
-rw-r--r-- | kview/kviewcanvas/kimagecanvas.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kview/kviewcanvas/kimagecanvas.h b/kview/kviewcanvas/kimagecanvas.h index 849fb1ec..f9ea3e73 100644 --- a/kview/kviewcanvas/kimagecanvas.h +++ b/kview/kviewcanvas/kimagecanvas.h @@ -147,7 +147,7 @@ class KDE_EXPORT KImageCanvas : public TQScrollView, public KImageViewer::Canvas /** * @return a pointer to the TQWidget interface of this object */ - TQWidget * widget() { return static_cast<TQWidget *>( this ); } + TQWidget * widget() { return this; } bool eventFilter( TQObject *, TQEvent * ); |