summaryrefslogtreecommitdiffstats
path: root/src/testlib/qsignalspy.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2024-03-15 17:12:19 +0100
committerMarc Mutz <marc.mutz@qt.io>2024-03-19 21:09:37 +0100
commit7565034aadf955537be908a94e4cef16096a041f (patch)
tree87dba31a86727bce4dd6e6948df309cb561f104a /src/testlib/qsignalspy.h
parent4c21f728374605ff529aa53c63c3d59517098435 (diff)
QSignalSpy: fix C'n'P mistake in a qWarning()
The warning for the new-style signal constructor was copied from the old-style signal constructor, but not adjusted to its new home. The signal pointer passed here is not the signal "name", but a signal "pointer" (-to-member-function, but no need to go into that much detail). Amends 6fc7d76e7309c01a364b0f72d253735366674f29, but not picking to very strict LTS branches, just in case someone has a QTest::ignoreMsg() installed on it. Pick-to: 6.7 6.6 6.5 Change-Id: Ia1f6b7001f38202ac72f9945c4a822d81562cdbf Reviewed-by: David Faure <david.faure@kdab.com> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/testlib/qsignalspy.h')
-rw-r--r--src/testlib/qsignalspy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qsignalspy.h b/src/testlib/qsignalspy.h
index 0c4ae347b8..117d485899 100644
--- a/src/testlib/qsignalspy.h
+++ b/src/testlib/qsignalspy.h
@@ -63,7 +63,7 @@ public:
return;
if (!signal0) {
- qWarning("QSignalSpy: Null signal name is not valid");
+ qWarning("QSignalSpy: Null signal pointer is not valid");
return;
}