summaryrefslogtreecommitdiffstats
path: root/kmail/kmfoldertree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmfoldertree.cpp')
-rw-r--r--kmail/kmfoldertree.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmail/kmfoldertree.cpp b/kmail/kmfoldertree.cpp
index 21a2eb0f7..312f4febb 100644
--- a/kmail/kmfoldertree.cpp
+++ b/kmail/kmfoldertree.cpp
@@ -1753,10 +1753,10 @@ void KMFolderTree::slotToggleSizeColumn()
bool KMFolderTree::eventFilter( TQObject *o, TQEvent *e )
{
if ( e->type() == TQEvent::MouseButtonPress &&
- TQT_TQMOUSEEVENT(e)->button() == TQt::RightButton &&
+ static_cast<TQMouseEvent*>(e)->button() == TQt::RightButton &&
o->isA("TQHeader") )
{
- mPopup->popup( TQT_TQMOUSEEVENT(e)->globalPos() );
+ mPopup->popup( static_cast<TQMouseEvent*>(e)->globalPos() );
return true;
}
return KFolderTree::eventFilter(o, e);