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. -- Gioele Barabucci (Gb]) ) mailto:dev@gioelebarabucci.com ) http://www.gioelebarabucci.com ) ) I've been and now I've gone ) ) /Magic Pie^Oasis >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<