On Sunday 30 June 2002 4:19, Gioele Barabucci wrote: > On Sunday 30 June 2002 22:45, John Firebaugh wrote: > > How about this: > > > > // prevent LMB down -> RMB down -> LMB up sequence > > if( e->button() == RightButton && e->state() == NoButton ) > > emit showMenu( e->globalPos(), deskNum ); > > else > > QButton::mousePressEvent( e ); > > This is wrong, QButton:: get called if button() = RightButton and state() = > LeftButton. What's wrong with that? -John >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<