diff options
Diffstat (limited to 'interfaces/ktexteditor/editinterface.cpp')
-rw-r--r-- | interfaces/ktexteditor/editinterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interfaces/ktexteditor/editinterface.cpp b/interfaces/ktexteditor/editinterface.cpp index 6722fc555..cfa0b67bc 100644 --- a/interfaces/ktexteditor/editinterface.cpp +++ b/interfaces/ktexteditor/editinterface.cpp @@ -52,6 +52,6 @@ EditInterface *KTextEditor::editInterface (Document *doc) if (!doc) return 0; - return static_cast<EditInterface*>(doc->qt_cast("KTextEditor::EditInterface")); + return dynamic_cast<KTextEditor::EditInterface*>(doc); } |