mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 15:29:42 +01:00
Better debug spam on column restore
This commit is contained in:
parent
02f65f4422
commit
44580cdb3a
@ -81,18 +81,17 @@ ViewHeader::checkState()
|
||||
disconnect( this, SIGNAL( sectionResized( int, int, int ) ), this, SLOT( onSectionsChanged() ) );
|
||||
|
||||
QByteArray state;
|
||||
tDebug( LOGVERBOSE ) << "Restoring columns state for view:" << m_guid;
|
||||
|
||||
if ( !m_guid.isEmpty() )
|
||||
state = TomahawkSettings::instance()->playlistColumnSizes( m_guid );
|
||||
|
||||
if ( !state.isEmpty() )
|
||||
{
|
||||
tDebug( LOGVERBOSE ) << Q_FUNC_INFO << "Restoring columns state for view:" << m_guid;
|
||||
restoreState( state );
|
||||
}
|
||||
else
|
||||
{
|
||||
tDebug( LOGVERBOSE ) << "Giving columns initial weighting:" << m_columnWeights;
|
||||
tDebug( LOGVERBOSE ) << Q_FUNC_INFO << "Giving columns of view" << m_guid << "initial weighting:" << m_columnWeights << "for" << count() << "columns";
|
||||
for ( int i = 0; i < count() - 1; i++ )
|
||||
{
|
||||
if ( isSectionHidden( i ) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user