diff options
Diffstat (limited to 'interfaces/ktexteditor/dynwordwrapinterface.cpp')
-rw-r--r-- | interfaces/ktexteditor/dynwordwrapinterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interfaces/ktexteditor/dynwordwrapinterface.cpp b/interfaces/ktexteditor/dynwordwrapinterface.cpp index 49d4060c0..9c1da6d4b 100644 --- a/interfaces/ktexteditor/dynwordwrapinterface.cpp +++ b/interfaces/ktexteditor/dynwordwrapinterface.cpp @@ -65,5 +65,5 @@ DynWordWrapInterface *KTextEditor::dynWordWrapInterface (View *view) if (!view) return 0; - return static_cast<DynWordWrapInterface*>(view->qt_cast("KTextEditor::DynWordWrapInterface")); + return dynamic_cast<KTextEditor::DynWordWrapInterface*>(view); } |