1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-19 07:22:32 +02:00

* In preparation of dropping proxy-styles.

This commit is contained in:
Christian Muehlhaeuser 2014-08-28 21:19:05 +02:00
parent 31745d8c37
commit 91fa215f8c
2 changed files with 3 additions and 6 deletions

View File

@ -276,9 +276,6 @@ TrackView::onModelEmptyCheck()
void
TrackView::onViewChanged()
{
if ( m_proxyModel->style() != PlayableProxyModel::Short && m_proxyModel->style() != PlayableProxyModel::Large ) // eventual FIXME?
return;
if ( m_timer.isActive() )
m_timer.stop();

View File

@ -95,9 +95,6 @@ public slots:
void playItem();
virtual void onMenuTriggered( int action );
void onViewChanged();
void onScrollTimeout();
void expand( const QPersistentModelIndex& idx );
void select( const QPersistentModelIndex& idx );
void selectFirstTrack();
@ -124,6 +121,9 @@ protected:
protected slots:
virtual void currentChanged( const QModelIndex& current, const QModelIndex& previous );
void onViewChanged();
void onScrollTimeout();
private slots:
void onItemResized( const QModelIndex& index );
void onFilterChanged( const QString& filter );