summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/textdocument.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textdocument.cpp b/src/textdocument.cpp
index 9de69e8..8f656b6 100644
--- a/src/textdocument.cpp
+++ b/src/textdocument.cpp
@@ -616,7 +616,7 @@ void TextDocument::slotUpdateMarksInfo()
void TextDocument::slotBookmarkRequested()
{
- const TQObject * s = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()));
+ const TQObject * s = sender();
if (!s) return;
TQString name = s->name();