diff options
Diffstat (limited to 'kview/kviewviewer/kviewviewer.cpp')
-rw-r--r-- | kview/kviewviewer/kviewviewer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kview/kviewviewer/kviewviewer.cpp b/kview/kviewviewer/kviewviewer.cpp index c70ea673..48195506 100644 --- a/kview/kviewviewer/kviewviewer.cpp +++ b/kview/kviewviewer/kviewviewer.cpp @@ -69,7 +69,7 @@ KViewViewer::KViewViewer( TQWidget *parentWidget, const char * /*widgetName*/, KImageIO::registerFormats(); TQWidget * widget = KParts::ComponentFactory::createInstanceFromQuery<TQWidget>( - "KImageViewer/Canvas", TQString(), TQT_TQOBJECT(m_pParentWidget) ); + "KImageViewer/Canvas", TQString(), m_pParentWidget ); m_pCanvas = static_cast<KImageViewer::Canvas *>( widget->tqt_cast( "KImageViewer::Canvas" ) ); kdDebug( 4610 ) << "KImageViewer::Canvas at " << m_pCanvas << endl; if( ! ( widget && m_pCanvas ) ) |