1
0
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:
Leo Franchi
2012-06-10 17:56:26 +02:00
parent 60f8241305
commit c114657f81

View File

@@ -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();
} }