mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 06:07:37 +02:00
Still trying to fix the Windows accounts button bug.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user