Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 65cfaebb authored by Laurent Montel's avatar Laurent Montel 😁

Normalize argument

parent 989c2d85
......@@ -40,7 +40,7 @@ void AgentThread::run()
const bool invokeSucceeded = QMetaObject::invokeMethod(m_factory,
"createInstance",
Qt::DirectConnection,
Q_RETURN_ARG(QObject *, m_instance),
Q_RETURN_ARG(QObject*, m_instance),
Q_ARG(QString, m_identifier));
if (invokeSucceeded) {
qCDebug(AKONADIAGENTSERVER_LOG) << Q_FUNC_INFO << "agent instance created: " << m_instance;
......
......@@ -55,7 +55,7 @@ Connection *SessionThread::createConnection(Connection::ConnectionType connectio
Connection *conn = nullptr;
const bool invoke = QMetaObject::invokeMethod(this, "doCreateConnection",
Qt::BlockingQueuedConnection,
Q_RETURN_ARG(Akonadi::Connection *, conn),
Q_RETURN_ARG(Akonadi::Connection*, conn),
Q_ARG(Akonadi::Connection::ConnectionType, connectionType),
Q_ARG(QByteArray, sessionId));
Q_ASSERT(invoke); Q_UNUSED(invoke);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment