Skip to content

Commit

Permalink
Fixes #11125. Use methodSignature() for Qt5.
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Kristjansson <danielk@cuymedia.net>
  • Loading branch information
garybuhrmaster authored and daniel-kristjansson committed Dec 20, 2012
1 parent 25ef08d commit d1443e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mythtv/libs/libmythupnp/servicehost.cpp
Expand Up @@ -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...
Expand Down

0 comments on commit d1443e7

Please sign in to comment.