summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorMÃ¥rten Nordheim <marten.nordheim@qt.io>2021-02-16 11:35:38 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-02-18 15:45:12 +0000
commit5a081b5eedefe9b20f695541c31978ec205a10e8 (patch)
treed78a91ede15e1a098b2f3c88abfad81c45bb4a24 /src/corelib
parent9b98e84da5be841058e0e01a6b119ee1ea7077d5 (diff)
Mark QSocketNotifier::activated(int) QT_MOC_COMPAT
Fixes: QTBUG-83888 Change-Id: I0833812376a5bf1a024a4b036c09b23760437862 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 9d19a8ca2fc4fbd99427d2be10ad1d1e98b34506) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/kernel/qsocketnotifier.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qsocketnotifier.h b/src/corelib/kernel/qsocketnotifier.h
index cd7d531687..9c806235fc 100644
--- a/src/corelib/kernel/qsocketnotifier.h
+++ b/src/corelib/kernel/qsocketnotifier.h
@@ -84,7 +84,7 @@ Q_SIGNALS:
// This means the PMF-based connect(..) will automatically, on recompile, pick up the new
// version while the old-style connect(..) can query the metaobject system for this version.
#if defined(Q_MOC_RUN) || defined(BUILDING_QSOCKETNOTIFIER) || defined(Q_QDOC)
- void activated(int socket, QPrivateSignal);
+ QT_MOC_COMPAT void activated(int socket, QPrivateSignal);
#endif
protected: