summaryrefslogtreecommitdiffstats
path: root/kexi/widget/tableview/kexitableviewheader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/tableview/kexitableviewheader.cpp')
-rw-r--r--kexi/widget/tableview/kexitableviewheader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/widget/tableview/kexitableviewheader.cpp b/kexi/widget/tableview/kexitableviewheader.cpp
index 0ee90f5a..305222ca 100644
--- a/kexi/widget/tableview/kexitableviewheader.cpp
+++ b/kexi/widget/tableview/kexitableviewheader.cpp
@@ -120,7 +120,7 @@ void KexiTableViewHeader::setToolTip( int section, const TQString & toolTip )
bool KexiTableViewHeader::eventFilter(TQObject * watched, TQEvent * e)
{
if (e->type()==TQEvent::MouseMove) {
- const int section = sectionAt( TQT_TQMOUSEEVENT(e)->x() );
+ const int section = sectionAt( static_cast<TQMouseEvent*>(e)->x() );
if (section != m_lastToolTipSection && section >= 0 && section < (int)m_toolTips.count()) {
TQToolTip::remove(this, m_toolTipRect);
TQString tip = m_toolTips[ section ];