diff options
author | Liang Qi <liang.qi@theqtcompany.com> | 2015-02-10 15:34:55 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@theqtcompany.com> | 2015-02-10 19:57:17 +0000 |
commit | dbd8d7b969202b666824bc3e9736122108edc066 (patch) | |
tree | 60a70d9f4d56fe854111f305059f4e35cb30b367 /src/websockets/qwebsocketframe_p.h | |
parent | 2d4c382f0133da0b56634b96e96e5c0f7ad92a2f (diff) | |
download | qtwebsockets-dbd8d7b969202b666824bc3e9736122108edc066.tar.gz |
Fix the translation in QWebSocketFrame
Task-number: QTBUG-38740
Change-Id: If8df86990686af6811ad3bb21f93448ced946b6c
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/websockets/qwebsocketframe_p.h')
-rw-r--r-- | src/websockets/qwebsocketframe_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/websockets/qwebsocketframe_p.h b/src/websockets/qwebsocketframe_p.h index c29cac6..68101ab 100644 --- a/src/websockets/qwebsocketframe_p.h +++ b/src/websockets/qwebsocketframe_p.h @@ -36,6 +36,7 @@ #include <QtCore/QString> #include <QtCore/QByteArray> +#include <QtCore/QCoreApplication> #include <limits.h> #include "qwebsockets_global.h" @@ -51,6 +52,8 @@ const quint64 MAX_MESSAGE_SIZE_IN_BYTES = INT_MAX - 1; class Q_AUTOTEST_EXPORT QWebSocketFrame { + Q_DECLARE_TR_FUNCTIONS(QWebSocketFrame) + public: QWebSocketFrame(); QWebSocketFrame(const QWebSocketFrame &other); |