From dad52a1590e4a63625c3ab5800e2fe74214c80ac Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Fri, 9 Nov 2012 06:36:16 +0100 Subject: [PATCH] * Removed obsolete hack from ViewHeader. --- src/libtomahawk/playlist/ViewHeader.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/libtomahawk/playlist/ViewHeader.cpp b/src/libtomahawk/playlist/ViewHeader.cpp index 39bfec590..96d9020aa 100644 --- a/src/libtomahawk/playlist/ViewHeader.cpp +++ b/src/libtomahawk/playlist/ViewHeader.cpp @@ -60,6 +60,7 @@ ViewHeader::visibleSectionCount() const void ViewHeader::onSectionsChanged() { + tDebug( LOGVERBOSE ) << "Saving columns state for view guid:" << m_guid; if ( !m_guid.isEmpty() ) TomahawkSettings::instance()->setPlaylistColumnSizes( m_guid, saveState() ); } @@ -77,10 +78,8 @@ ViewHeader::checkState() if ( !state.isEmpty() ) { + tDebug( LOGVERBOSE ) << "Restoring columns state for view:" << m_guid; restoreState( state ); - - if ( m_guid.startsWith( "playlistview" ) ) // HACK - setSortIndicator( -1, Qt::AscendingOrder ); } else {