1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 11:20:22 +02:00

Merge pull request #85 from nowrep/master

Fixed position of context menu in ArtistView and TrackView
This commit is contained in:
Leo Franchi
2012-04-11 10:44:00 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -384,7 +384,7 @@ ArtistView::onCustomContextMenu( const QPoint& pos )
m_contextMenu->setArtists( artists );
m_contextMenu->setAlbums( albums );
m_contextMenu->exec( mapToGlobal( pos ) );
m_contextMenu->exec( viewport()->mapToGlobal( pos ) );
}

View File

@@ -567,7 +567,7 @@ TrackView::onCustomContextMenu( const QPoint& pos )
}
m_contextMenu->setQueries( queries );
m_contextMenu->exec( mapToGlobal( pos ) );
m_contextMenu->exec( viewport()->mapToGlobal( pos ) );
}