diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-24 07:08:32 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-24 07:08:32 +0000 |
commit | a21c1c9b1dca09b9ab3a56d60e6f4c7a253689f8 (patch) | |
tree | 3359e2a90e87b53193c6ded445569016204e1c12 /kmail | |
parent | 084c86a81820f17db9eee7362120586199008e27 (diff) | |
download | tdepim-a21c1c9b1dca09b9ab3a56d60e6f4c7a253689f8.tar.gz tdepim-a21c1c9b1dca09b9ab3a56d60e6f4c7a253689f8.zip |
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
Diffstat (limited to 'kmail')
-rw-r--r-- | kmail/kmfoldertree.cpp | 2 | ||||
-rw-r--r-- | kmail/kmheaders.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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<TQMouseEvent*>(e)->button() == RightButton && - o->isA("TQHeader") ) + o->isA(TQHEADER_OBJECT_NAME_STRING) ) { mPopup->popup( static_cast<TQMouseEvent*>(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<TQMouseEvent*>(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 |