summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/ttdetoolbarbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficeui/ttdetoolbarbutton.cpp')
-rw-r--r--lib/kofficeui/ttdetoolbarbutton.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kofficeui/ttdetoolbarbutton.cpp b/lib/kofficeui/ttdetoolbarbutton.cpp
index 6fed1f48..6aaab739 100644
--- a/lib/kofficeui/ttdetoolbarbutton.cpp
+++ b/lib/kofficeui/ttdetoolbarbutton.cpp
@@ -314,7 +314,7 @@ void TTDEToolBarButton::enterEvent(TQEvent *)
bool TTDEToolBarButton::eventFilter(TQObject *o, TQEvent *ev)
{
- if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(this) )
+ if ( o == this )
if (ev->type() == TQEvent::MouseButtonPress && d->m_popup && d->m_isPopup ) {
if (!d->m_isToggle) {
d->m_arrowPressed = arrowPressed( mapFromGlobal(TQCursor::pos()) );
@@ -323,7 +323,7 @@ bool TTDEToolBarButton::eventFilter(TQObject *o, TQEvent *ev)
}
}
- if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(d->m_popup)) {
+ if ( o == d->m_popup) {
switch (ev->type())
{
case TQEvent::Show: