diff options
Diffstat (limited to 'kmymoney2/widgets/kmymoneyaccountcombo.cpp')
-rw-r--r-- | kmymoney2/widgets/kmymoneyaccountcombo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/widgets/kmymoneyaccountcombo.cpp b/kmymoney2/widgets/kmymoneyaccountcombo.cpp index 67a416f..6865c29 100644 --- a/kmymoney2/widgets/kmymoneyaccountcombo.cpp +++ b/kmymoney2/widgets/kmymoneyaccountcombo.cpp @@ -165,7 +165,7 @@ void KMyMoneyAccountCombo::mousePressEvent(TQMouseEvent *e) e->ignore(); return; } - bool hit = TQT_TQRECT_OBJECT(rect()).tqcontains( e->pos() ); + bool hit = TQT_TQRECT_OBJECT(rect()).contains( e->pos() ); if ( hit ) { // mouse press on button m_mlbDown = TRUE; // left mouse button down emit pressed(); @@ -182,7 +182,7 @@ void KMyMoneyAccountCombo::mouseReleaseEvent(TQMouseEvent *e) return; m_mlbDown = FALSE; // left mouse button up emit released(); - if ( TQT_TQRECT_OBJECT(rect()).tqcontains( e->pos() ) ) { // mouse release on button + if ( TQT_TQRECT_OBJECT(rect()).contains( e->pos() ) ) { // mouse release on button emit clicked(); } } |