summaryrefslogtreecommitdiffstats
path: root/tdecachegrind
diff options
context:
space:
mode:
Diffstat (limited to 'tdecachegrind')
-rw-r--r--tdecachegrind/tdecachegrind/toplevel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdecachegrind/tdecachegrind/toplevel.cpp b/tdecachegrind/tdecachegrind/toplevel.cpp
index e83457fd..82bdb8c3 100644
--- a/tdecachegrind/tdecachegrind/toplevel.cpp
+++ b/tdecachegrind/tdecachegrind/toplevel.cpp
@@ -1469,7 +1469,7 @@ void TopLevel::setTraceItemDelayed(TraceItem* i)
// no need to select same item a 2nd time...
if (_traceItemDelayed == i) return;
_traceItemDelayed = i;
- _lastSender = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()));
+ _lastSender = sender();
kdDebug() << "Selected " << (i ? i->prettyName() : "(none)") << endl;