mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 17:43:59 +02:00
* Never try to store the state for an empty playlist guid.
This commit is contained in:
@@ -972,6 +972,9 @@ TomahawkSettings::playlistColumnSizes( const QString& playlistid ) const
|
||||
void
|
||||
TomahawkSettings::setPlaylistColumnSizes( const QString& playlistid, const QByteArray& state )
|
||||
{
|
||||
if ( playlistid.isEmpty() )
|
||||
return;
|
||||
|
||||
setValue( QString( "ui/playlist/%1/columnSizes" ).arg( playlistid ), state );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user