mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-21 16:27:39 -06:00
Fix proxy support with Qt 5.9+
This commit is contained in:
parent
dad6031bd6
commit
374bf79911
@ -241,6 +241,11 @@ int main(int argc, char * argv[])
|
||||
{
|
||||
#if QT_VERSION >= 0x050000
|
||||
QTcpSocket socket;
|
||||
|
||||
#if QT_VERSION >= 0x050900
|
||||
socket.setProxy(QNetworkProxy::NoProxy);
|
||||
#endif
|
||||
|
||||
socket.bind(0, QTcpSocket::ShareAddress);
|
||||
#else
|
||||
QUdpSocket socket;
|
||||
|
Loading…
Reference in New Issue
Block a user