mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 05:37:29 +02:00
make sure we have a backend set
This commit is contained in:
@@ -103,6 +103,12 @@ SnoreNotifyPlugin::pushInfo( Tomahawk::InfoSystem::InfoPushData pushData )
|
|||||||
if ( !TomahawkSettings::instance()->songChangeNotificationEnabled() )
|
if ( !TomahawkSettings::instance()->songChangeNotificationEnabled() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if( m_snore->primaryNotificationBackend().isNull() )
|
||||||
|
{
|
||||||
|
tDebug( LOGVERBOSE ) << Q_FUNC_INFO << "no notification backend set";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
switch ( pushData.type )
|
switch ( pushData.type )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user