summaryrefslogtreecommitdiffstats
path: root/examples/network/blockingfortuneclient
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2023-01-13 16:51:59 +0100
committerMårten Nordheim <marten.nordheim@qt.io>2023-01-17 16:15:11 +0100
commit71cd3bc074b4eea3158ba037ae2fe1c5b922ff3d (patch)
tree99f40f0b9a6b665e85445bfa234835b636aaf383 /examples/network/blockingfortuneclient
parent605eec7b55516291fe0fc92401947e80b2d8e425 (diff)
Fortune* Example: Bump QDataStream format version
One of the examples were using a different version than the others. Though QString's formatting probably didn't change since then so it was no problem. Anyway, pretend like we're releasing it now for the first time and set 6.5 on all of them Task-number: QTBUG-108875 Pick-to: 6.5 Change-Id: I28b496ab3d8ff54c503a032ba15882cdf3d5eccf Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/network/blockingfortuneclient')
-rw-r--r--examples/network/blockingfortuneclient/fortunethread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/blockingfortuneclient/fortunethread.cpp b/examples/network/blockingfortuneclient/fortunethread.cpp
index 8e8df8cf8e..464482e17b 100644
--- a/examples/network/blockingfortuneclient/fortunethread.cpp
+++ b/examples/network/blockingfortuneclient/fortunethread.cpp
@@ -62,7 +62,7 @@ void FortuneThread::run()
//! [8] //! [11]
QDataStream in(&socket);
- in.setVersion(QDataStream::Qt_4_0);
+ in.setVersion(QDataStream::Qt_6_5);
QString fortune;
//! [11] //! [12]