Fixed runtime issues reported by SonarQube.

This commit is contained in:
Akshay Joshi
2020-06-16 14:53:40 +05:30
parent 3e00fe2b0f
commit cf64e2c97c
13 changed files with 37 additions and 46 deletions
+2 -2
View File
@@ -233,9 +233,9 @@ int main(int argc, char * argv[])
#if QT_VERSION >= 0x050000
QTcpSocket socket;
#if QT_VERSION >= 0x050900
#if QT_VERSION >= 0x050900
socket.setProxy(QNetworkProxy::NoProxy);
#endif
#endif
socket.bind(0, QTcpSocket::ShareAddress);
#else