From 9c386ebb0d7d8df8ab530d6c8b0aac705e736021 Mon Sep 17 00:00:00 2001 From: Ievgenii Meshcheriakov Date: Tue, 15 Aug 2023 15:35:29 +0200 Subject: 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 --- src/dbus/qdbusintegrator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dbus/qdbusintegrator.cpp b/src/dbus/qdbusintegrator.cpp index f976c0b308..a25ade92ce 100644 --- a/src/dbus/qdbusintegrator.cpp +++ b/src/dbus/qdbusintegrator.cpp @@ -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*/) -- cgit v1.2.3