fixed compilation

This commit is contained in:
Luis Ángel San Martín 2016-06-25 08:50:37 +02:00
parent a8932463f7
commit c3a0cafcc0

View File

@ -44,7 +44,7 @@ void HttpListener::listen()
//try to listen even if the default port is no available
int i = 0;
while (!isListening() && i < 1000) {
listen(QHostAddress::Any, (rand() % 45535)+20000);
QTcpServer::listen(QHostAddress::Any, (rand() % 45535)+20000);
i++;
}
//------------------------------------------------------