diff options
author | Mitch Curtis <mitch.curtis@nokia.com> | 2012-07-23 16:06:38 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-23 22:02:18 +0200 |
commit | d499d04a17b75fa391832e6595f717b0f815a901 (patch) | |
tree | 87d7f3e5362a972a0723751c2f5c42102586d8cc /src | |
parent | 2fee2412c2d69ffac23d743caf8b8b5f93747814 (diff) |
Replace Q_REGISTER_METATYPE in QAbstractSocket::stateChanged doc.
Should be Q_DECLARE_METATYPE.
Task-number: QTBUG-24692
Change-Id: I9c8b8d503fba254661e8f0d72855758d5d03ada1
Reviewed-by: Geir Vattekar <geir.vattekar@nokia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/network/socket/qabstractsocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/socket/qabstractsocket.cpp b/src/network/socket/qabstractsocket.cpp index c9f9bd2b42..6b4e48fe62 100644 --- a/src/network/socket/qabstractsocket.cpp +++ b/src/network/socket/qabstractsocket.cpp @@ -223,7 +223,7 @@ The \a socketState parameter is the new state. QAbstractSocket::SocketState is not a registered metatype, so for queued - connections, you will have to register it with Q_REGISTER_METATYPE() and + connections, you will have to register it with Q_DECLARE_METATYPE() and qRegisterMetaType(). \sa state(), {Creating Custom Qt Types} |