From d1443e7bbc6cc89e5216b01af50444023a428b0b Mon Sep 17 00:00:00 2001 From: Gary Buhrmaster Date: Thu, 20 Dec 2012 13:23:47 -0500 Subject: [PATCH] Fixes #11125. Use methodSignature() for Qt5. Signed-off-by: Daniel Kristjansson --- mythtv/libs/libmythupnp/servicehost.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mythtv/libs/libmythupnp/servicehost.cpp b/mythtv/libs/libmythupnp/servicehost.cpp index 380d2d08ffb..7c013d314f3 100644 --- a/mythtv/libs/libmythupnp/servicehost.cpp +++ b/mythtv/libs/libmythupnp/servicehost.cpp @@ -201,7 +201,11 @@ ServiceHost::ServiceHost(const QMetaObject &metaObject, if ((method.methodType() == QMetaMethod::Slot ) && (method.access() == QMetaMethod::Public )) { +#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) QString sName( method.signature() ); +#else + QString sName( method.methodSignature() ); +#endif // ------------------------------------------------------ // Ignore the following methods...