1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 03:10:12 +02:00

Don't hardcode app id for vlc

This commit is contained in:
Dominik Schmidt
2016-02-23 16:14:03 +01:00
parent f38f3ca367
commit 99abd7434b

View File

@@ -98,8 +98,8 @@ AudioOutput::AudioOutput( QObject* parent )
TOMAHAWK_APPLICATION_NAME "/" TOMAHAWK_VERSION ); TOMAHAWK_APPLICATION_NAME "/" TOMAHAWK_VERSION );
// FIXME: icon is named tomahawk, so we need the lowercase application name // FIXME: icon is named tomahawk, so we need the lowercase application name
#if (LIBVLC_VERSION_INT >= LIBVLC_VERSION(2, 1, 0, 0)) #if (LIBVLC_VERSION_INT >= LIBVLC_VERSION(2, 1, 0, 0))
libvlc_set_app_id( m_vlcInstance, "org.tomahawk-player.desktop", libvlc_set_app_id( m_vlcInstance, TOMAHAWK_APPLICATION_PACKAGE_NAME,
TOMAHAWK_VERSION, "tomahawk" ); TOMAHAWK_VERSION, TOMAHAWK_TARGET_NAME );
#endif #endif
m_vlcPlayer = libvlc_media_player_new( m_vlcInstance ); m_vlcPlayer = libvlc_media_player_new( m_vlcInstance );