diff options
Diffstat (limited to 'src/demoserver.cpp')
| -rw-r--r-- | src/demoserver.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/demoserver.cpp b/src/demoserver.cpp index c4f8c158..0aefc0cc 100644 --- a/src/demoserver.cpp +++ b/src/demoserver.cpp @@ -95,7 +95,11 @@ void DemoServer::recv_data() } QStringList packet_list = +#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0) in_data.split("%", QString::SplitBehavior(QString::SkipEmptyParts)); +#else + in_data.split("%", Qt::SkipEmptyParts); +#endif for (const QString &packet : packet_list) { AOPacket ao_packet(packet); |
