Permalink
Browse files

Fixes #11125. Use methodSignature() for Qt5.

Signed-off-by: Daniel Kristjansson <danielk@cuymedia.net>
  • Loading branch information...
garybuhrmaster authored and daniel-kristjansson committed Dec 20, 2012
1 parent 25ef08d commit d1443e7bbc6cc89e5216b01af50444023a428b0b
Showing with 4 additions and 0 deletions.
  1. +4 −0 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...

0 comments on commit d1443e7

Please sign in to comment.