summaryrefslogtreecommitdiffstats
path: root/interfaces/ktexteditor/viewstatusmsginterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces/ktexteditor/viewstatusmsginterface.cpp')
-rw-r--r--interfaces/ktexteditor/viewstatusmsginterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/interfaces/ktexteditor/viewstatusmsginterface.cpp b/interfaces/ktexteditor/viewstatusmsginterface.cpp
index ff0815c89..af8870c80 100644
--- a/interfaces/ktexteditor/viewstatusmsginterface.cpp
+++ b/interfaces/ktexteditor/viewstatusmsginterface.cpp
@@ -72,5 +72,5 @@ ViewStatusMsgInterface *KTextEditor::viewStatusMsgInterface (View *view)
if (!view)
return 0;
- return static_cast<ViewStatusMsgInterface*>(view->qt_cast("KTextEditor::ViewStatusMsgInterface"));
+ return dynamic_cast<KTextEditor::ViewStatusMsgInterface*>(view);
}