From a75ae3e1338c8664d7dfafb44550c3cd3dbcc417 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Wed, 14 Nov 2012 12:56:00 +0100 Subject: [PATCH] Still trying to fix the Windows accounts button bug. --- src/widgets/AccountsToolButton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/AccountsToolButton.cpp b/src/widgets/AccountsToolButton.cpp index b4283d64c..53e0086de 100644 --- a/src/widgets/AccountsToolButton.cpp +++ b/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