1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 22:26:32 +02:00

Still trying to fix the Windows accounts button bug.

This commit is contained in:
Teo Mrnjavac
2012-11-14 12:56:00 +01:00
parent d7145e1199
commit a75ae3e133

View File

@@ -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