diff options
Diffstat (limited to 'interfaces/ktexteditor/texthintinterface.cpp')
-rw-r--r-- | interfaces/ktexteditor/texthintinterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interfaces/ktexteditor/texthintinterface.cpp b/interfaces/ktexteditor/texthintinterface.cpp index 079a1edda..f6aa4f0b3 100644 --- a/interfaces/ktexteditor/texthintinterface.cpp +++ b/interfaces/ktexteditor/texthintinterface.cpp @@ -58,7 +58,7 @@ TextHintInterface *textHintInterface (View *view) if (!view) return 0; - return static_cast<TextHintInterface*>(view->qt_cast("KTextEditor::TextHintInterface")); + return dynamic_cast<KTextEditor::TextHintInterface*>(view); } |