summaryrefslogtreecommitdiffstats
path: root/kate/plugins/autobookmarker/autobookmarker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/plugins/autobookmarker/autobookmarker.cpp')
-rw-r--r--kate/plugins/autobookmarker/autobookmarker.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/kate/plugins/autobookmarker/autobookmarker.cpp b/kate/plugins/autobookmarker/autobookmarker.cpp
index c03fcefe0..a0e61f3d0 100644
--- a/kate/plugins/autobookmarker/autobookmarker.cpp
+++ b/kate/plugins/autobookmarker/autobookmarker.cpp
@@ -113,8 +113,7 @@ void AutoBookmarker::slotCompleted()
{
// get the document info
KTextEditor::DocumentInfoInterface *di =
- static_cast<KTextEditor::DocumentInfoInterface*>(document()->
- qt_cast("KTextEditor::DocumentInfoInterface"));
+ ::tqqt_cast<KTextEditor::DocumentInfoInterface*>(document());
TQString mt;
if ( di ) // we can still try match the URL otherwise
mt = di->mimeType();