summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAhmad Samir <a.samirh78@gmail.com>2023-08-22 18:38:42 +0300
committerAhmad Samir <a.samirh78@gmail.com>2023-08-23 14:33:09 +0300
commit2eb5de5954166456581f44df878ab7faa0aad6c0 (patch)
tree50862eb33dcdeb323388edbc2915c09cd06a4bcf /tests
parent88fbf6772ecc1c58425a92582c2ace21c2abd65e (diff)
Mark the whole repo with QT_NO_CONTEXTLESS_CONNECT
By adding it to the default build flags via .cmake.conf. This amends commit 7f218afc89150e40d4f2f5f796d43a6e74e40532. Task-number: QTBUG-116296 Change-Id: I1bf7c798a882fbf6bc324f4a1caec7df15628056 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/compiled/tst_compiled.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/compiled/tst_compiled.cpp b/tests/auto/compiled/tst_compiled.cpp
index cf48cda..83b4309 100644
--- a/tests/auto/compiled/tst_compiled.cpp
+++ b/tests/auto/compiled/tst_compiled.cpp
@@ -234,7 +234,7 @@ void tst_Compiled::topMachine()
++doneCounter;
});
- QObject::connect(&stateMachine, &QScxmlStateMachine::invokedServicesChanged,
+ QObject::connect(&stateMachine, &QScxmlStateMachine::invokedServicesChanged, this,
[&invokableServicesCount](const QList<QScxmlInvokableService *> &services) {
invokableServicesCount = services.size();
});
@@ -259,7 +259,7 @@ void tst_Compiled::topMachineDynamic()
++doneCounter;
});
- QObject::connect(stateMachine.data(), &QScxmlStateMachine::invokedServicesChanged,
+ QObject::connect(stateMachine.data(), &QScxmlStateMachine::invokedServicesChanged, this,
[&invokableServicesCount](const QList<QScxmlInvokableService *> &services) {
invokableServicesCount = services.size();
});