mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
fixed compilation
This commit is contained in:
parent
a8932463f7
commit
c3a0cafcc0
@ -44,7 +44,7 @@ void HttpListener::listen()
|
|||||||
//try to listen even if the default port is no available
|
//try to listen even if the default port is no available
|
||||||
int i = 0;
|
int i = 0;
|
||||||
while (!isListening() && i < 1000) {
|
while (!isListening() && i < 1000) {
|
||||||
listen(QHostAddress::Any, (rand() % 45535)+20000);
|
QTcpServer::listen(QHostAddress::Any, (rand() % 45535)+20000);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
//------------------------------------------------------
|
//------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user