mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
TWK-911: Fix placement of social widget
This commit is contained in:
@@ -598,7 +598,7 @@ void
|
|||||||
AudioControls::onSocialButtonClicked()
|
AudioControls::onSocialButtonClicked()
|
||||||
{
|
{
|
||||||
SocialWidget* sw = new SocialWidget( m_parent );
|
SocialWidget* sw = new SocialWidget( m_parent );
|
||||||
sw->setPosition( QCursor::pos() );
|
sw->setPosition( sw->mapFromGlobal( QCursor::pos() ) );
|
||||||
sw->setQuery( m_currentTrack->toQuery() );
|
sw->setQuery( m_currentTrack->toQuery() );
|
||||||
sw->show();
|
sw->show();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user