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:
@@ -115,6 +115,7 @@ AccountsToolButton::AccountsToolButton( QWidget* parent )
|
|||||||
void
|
void
|
||||||
AccountsToolButton::mousePressEvent( QMouseEvent* event )
|
AccountsToolButton::mousePressEvent( QMouseEvent* event )
|
||||||
{
|
{
|
||||||
|
QToolButton::mousePressEvent( event );
|
||||||
if( m_popup )
|
if( m_popup )
|
||||||
{
|
{
|
||||||
QPoint myPos = mapToGlobal( rect().bottomRight() );
|
QPoint myPos = mapToGlobal( rect().bottomRight() );
|
||||||
@@ -126,7 +127,6 @@ AccountsToolButton::mousePressEvent( QMouseEvent* event )
|
|||||||
m_popup->hide();
|
m_popup->hide();
|
||||||
event->accept();
|
event->accept();
|
||||||
}
|
}
|
||||||
QToolButton::mousePressEvent( event );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Reference in New Issue
Block a user