mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 23:39:42 +01:00
* Don't emit changed() twice in TomahawkSettings.
This commit is contained in:
parent
2d92cdade0
commit
c7ac6b5670
@ -489,32 +489,35 @@ TomahawkSettings::setVerboseNotifications( bool notifications )
|
||||
setValue( "ui/notifications/verbose", notifications );
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
TomahawkSettings::showOfflineSources() const
|
||||
{
|
||||
return value( "collection/sources/showoffline", false ).toBool();
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
TomahawkSettings::setShowOfflineSources( bool show )
|
||||
{
|
||||
setValue( "collection/sources/showoffline", show );
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
TomahawkSettings::enableEchonestCatalogs() const
|
||||
{
|
||||
return value( "collection/enable_catalogs", false ).toBool();
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
TomahawkSettings::setEnableEchonestCatalogs( bool enable )
|
||||
{
|
||||
setValue( "collection/enable_catalogs", enable );
|
||||
|
||||
emit changed();
|
||||
}
|
||||
|
||||
|
||||
QByteArray
|
||||
TomahawkSettings::playlistColumnSizes( const QString& playlistid ) const
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user