From a21c1c9b1dca09b9ab3a56d60e6f4c7a253689f8 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 24 Feb 2011 07:08:32 +0000 Subject: Fix a number of runtime object identification problems which led to an even larger array of minor glitches NOTE: kdevelop and kdewebdev still need to be fully repaired git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1222475 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmail/kmfoldertree.cpp | 2 +- kmail/kmheaders.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kmail') diff --git a/kmail/kmfoldertree.cpp b/kmail/kmfoldertree.cpp index 115c638e6..86dab4126 100644 --- a/kmail/kmfoldertree.cpp +++ b/kmail/kmfoldertree.cpp @@ -1754,7 +1754,7 @@ bool KMFolderTree::eventFilter( TQObject *o, TQEvent *e ) { if ( e->type() == TQEvent::MouseButtonPress && static_cast(e)->button() == RightButton && - o->isA("TQHeader") ) + o->isA(TQHEADER_OBJECT_NAME_STRING) ) { mPopup->popup( static_cast(e)->globalPos() ); return true; diff --git a/kmail/kmheaders.cpp b/kmail/kmheaders.cpp index 06fc89360..5afc9d811 100644 --- a/kmail/kmheaders.cpp +++ b/kmail/kmheaders.cpp @@ -237,7 +237,7 @@ bool KMHeaders::eventFilter ( TQObject *o, TQEvent *e ) { if ( e->type() == TQEvent::MouseButtonPress && static_cast(e)->button() == RightButton && - o->isA("TQHeader") ) + o->isA(TQHEADER_OBJECT_NAME_STRING) ) { // if we currently only show one of either sender/receiver column // modify the popup text in the way, that it displays the text of the other of the two -- cgit v1.2.1