path: root/src/network/socket/qabstractsocket_p.h
diff options
authorRichard Moore <>2012-01-28 13:41:20 +0000
committerQt by Nokia <>2012-01-30 16:39:56 +0100
commitb3a978d661b7d85b637e8e8a134bd1df925947f8 (patch)
tree47dec1d945d71835bee918e7d9c2b128e0c012e7 /src/network/socket/qabstractsocket_p.h
parente54dc7c2b5b9aa14989f26a718eb99d7516af4a0 (diff)
Make the pause modes a QFlags.
The intention is to add additional pause modes over time, this will be easier if we can just test if a particular reason for pausing is turned on. If we don't do this we'll end up having to check for each enum value every time we check what is enabled. Change-Id: I6b08f0e819b5593e3f6463c3dd175eff8625e155 Reviewed-by: Frederik Gladhorn <> Reviewed-by: Shane Kearns <>
Diffstat (limited to 'src/network/socket/qabstractsocket_p.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/socket/qabstractsocket_p.h b/src/network/socket/qabstractsocket_p.h
index 703a2a4a96..578213f6de 100644
--- a/src/network/socket/qabstractsocket_p.h
+++ b/src/network/socket/qabstractsocket_p.h
@@ -106,7 +106,7 @@ public:
bool closeCalled;
bool pendingClose;
- QAbstractSocket::PauseMode pauseMode;
+ QAbstractSocket::PauseModes pauseMode;
QString hostName;
quint16 port;