1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-12 09:04:33 +02:00

Remove obsolete qt_add_dbus_adaptor macro

This commit is contained in:
Andreas Sturmlechner
2018-07-07 22:45:06 +02:00
committed by Dominik Schmidt
parent 80d2fa48ec
commit 62feb25f5c
2 changed files with 2 additions and 8 deletions

View File

@@ -188,12 +188,6 @@ endif()
find_package(Qt5LinguistTools REQUIRED)
if( UNIX AND NOT APPLE )
macro(qt_add_dbus_adaptor)
qt5_add_dbus_adaptor(${ARGN})
endmacro()
endif()
macro(setup_qt)
endmacro()

View File

@@ -16,9 +16,9 @@ SET(mpris_srcs
mpris/MprisPlugin.cpp
)
qt_add_dbus_adaptor(mpris_srcs mpris/MprisPluginRootAdaptor.xml
qt5_add_dbus_adaptor(mpris_srcs mpris/MprisPluginRootAdaptor.xml
mpris/MprisPlugin.h Tomahawk::InfoSystem::MprisPlugin MprisPluginRootAdaptor MprisPluginRootAdaptor)
qt_add_dbus_adaptor(mpris_srcs mpris/MprisPluginPlayerAdaptor.xml
qt5_add_dbus_adaptor(mpris_srcs mpris/MprisPluginPlayerAdaptor.xml
mpris/MprisPlugin.h Tomahawk::InfoSystem::MprisPlugin MprisPluginPlayerAdaptor MprisPluginPlayerAdaptor)
tomahawk_add_plugin(mpris