mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Pre Qt 5.14 compatibility
This commit is contained in:
parent
e538ce9294
commit
50cce43e92
@ -169,7 +169,11 @@ public:
|
||||
connect (server_, &MessageServer::client_opened, this, &Server::add_client);
|
||||
connect (server_, &MessageServer::client_closed, this, &Server::remove_client);
|
||||
|
||||
#if QT_VERSION >= 0x051400
|
||||
server_->start (port, multicast_group, QSet<QString> {network_interface_names.begin (), network_interface_names.end ()});
|
||||
#else
|
||||
server_->start (port, multicast_group, network_interface_names.toSet ());
|
||||
#endif
|
||||
}
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user