1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-19 23:39:42 +01:00

codestyle

This commit is contained in:
Patrick von Reth 2014-02-04 12:36:08 +01:00
parent 341bc6c2cf
commit 2d024af17c

View File

@ -69,7 +69,7 @@ SnoreNotifyPlugin::SnoreNotifyPlugin()
tDebug( LOGVERBOSE ) << Q_FUNC_INFO << m_snore->primaryNotificationBackend();
m_application = Snore::Application( qApp->applicationName(), m_defaultIcon );
m_application.hints().setValue("desktop-entry","tomahawk");
m_application.hints().setValue( "desktop-entry" ,"tomahawk" );
addAlert( InfoNotifyUser, tr( "Notify User" ) );
addAlert( InfoNowPlaying, tr( "Now Playing" ) );
@ -215,7 +215,7 @@ SnoreNotifyPlugin::nowPlaying( const QVariant& input )
Snore::Icon image;
if ( map.contains( "cover" ) && map[ "cover" ].canConvert< QImage >() )
{
image = Snore::Icon( map[ "cover" ].value<QImage>() );
image = Snore::Icon( map[ "cover" ].value< QImage >() );
tDebug( LOGVERBOSE ) << Q_FUNC_INFO << image;
}
notifyUser( InfoNowPlaying, messageText, image );