QDBusConnectionPrivate: Define _q_newConnection outside of extern "C" block
That's weird and I have no idea how that worked. Change-Id: I6ecb967e108256ebf1609e08ef02fc2ec83ef2ca Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
193fb8bb68
commit
9c386ebb0d
@ -323,14 +323,14 @@ static void qDBusNewConnection(DBusServer *server, DBusConnection *connection, v
|
||||
newConnection->enableDispatchDelayed(serverConnection->serverObject);
|
||||
}
|
||||
|
||||
} // extern "C"
|
||||
|
||||
void QDBusConnectionPrivate::_q_newConnection(QDBusConnectionPrivate *newConnection)
|
||||
{
|
||||
Q_ASSERT(mode == ServerMode);
|
||||
emit serverObject->newConnection(QDBusConnectionPrivate::q(newConnection));
|
||||
}
|
||||
|
||||
} // extern "C"
|
||||
|
||||
static QByteArray buildMatchRule(const QString &service,
|
||||
const QString &objectPath, const QString &interface,
|
||||
const QString &member, const QDBusConnectionPrivate::ArgMatchRules &argMatch, const QString & /*signature*/)
|
||||
|
Loading…
Reference in New Issue
Block a user