Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixes #11125. Use methodSignature() for Qt5.

Signed-off-by: Daniel Kristjansson <danielk@cuymedia.net>
  • Loading branch information...
commit d1443e7bbc6cc89e5216b01af50444023a428b0b 1 parent 25ef08d
@garybuhrmaster garybuhrmaster authored daniel-kristjansson committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 mythtv/libs/libmythupnp/servicehost.cpp
View
4 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...
Please sign in to comment.
Something went wrong with that request. Please try again.