Skip to content

Commit

Permalink
Refs #11256. Register QHostAddress for use as a Qt metatype.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed Nov 26, 2012
1 parent d5e6bc4 commit 3310050
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mythtv/libs/libmythbase/mythsocket.cpp
Expand Up @@ -49,11 +49,13 @@ Q_DECLARE_METATYPE ( QStringList * );
Q_DECLARE_METATYPE ( const char * );
Q_DECLARE_METATYPE ( char * );
Q_DECLARE_METATYPE ( int * );
Q_DECLARE_METATYPE ( QHostAddress );
static int x0 = qRegisterMetaType< const QStringList * >();
static int x1 = qRegisterMetaType< QStringList * >();
static int x2 = qRegisterMetaType< const char * >();
static int x3 = qRegisterMetaType< char * >();
static int x4 = qRegisterMetaType< int * >();
static int x5 = qRegisterMetaType< QHostAddress >();

static QString to_sample(const QByteArray &payload)
{
Expand Down

0 comments on commit 3310050

Please sign in to comment.