Permalink
Browse files

Still trying to fix the Windows accounts button bug.

  • Loading branch information...
1 parent d7145e1 commit a75ae3e1338c8664d7dfafb44550c3cd3dbcc417 @teo teo committed Nov 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/widgets/AccountsToolButton.cpp
@@ -115,6 +115,7 @@ AccountsToolButton::AccountsToolButton( QWidget* parent )
void
AccountsToolButton::mousePressEvent( QMouseEvent* event )
{
+ QToolButton::mousePressEvent( event );
if( m_popup )
{
QPoint myPos = mapToGlobal( rect().bottomRight() );
@@ -126,7 +127,6 @@ AccountsToolButton::mousePressEvent( QMouseEvent* event )
m_popup->hide();
event->accept();
}
- QToolButton::mousePressEvent( event );
}
void

0 comments on commit a75ae3e

Please sign in to comment.