mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-14 18:14:50 +02:00
* Fixed compiler warnings.
This commit is contained in:
@@ -117,4 +117,5 @@ bool
|
|||||||
CollectionView::jumpToCurrentTrack()
|
CollectionView::jumpToCurrentTrack()
|
||||||
{
|
{
|
||||||
scrollTo( proxyModel()->currentItem(), QAbstractItemView::PositionAtCenter );
|
scrollTo( proxyModel()->currentItem(), QAbstractItemView::PositionAtCenter );
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
@@ -398,4 +398,5 @@ bool
|
|||||||
DynamicWidget::jumpToCurrentTrack()
|
DynamicWidget::jumpToCurrentTrack()
|
||||||
{
|
{
|
||||||
m_view->scrollTo( m_view->proxyModel()->currentItem(), QAbstractItemView::PositionAtCenter );
|
m_view->scrollTo( m_view->proxyModel()->currentItem(), QAbstractItemView::PositionAtCenter );
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
@@ -152,4 +152,5 @@ bool
|
|||||||
PlaylistView::jumpToCurrentTrack()
|
PlaylistView::jumpToCurrentTrack()
|
||||||
{
|
{
|
||||||
scrollTo( proxyModel()->currentItem(), QAbstractItemView::PositionAtCenter );
|
scrollTo( proxyModel()->currentItem(), QAbstractItemView::PositionAtCenter );
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user