Fix build with Qt 5.15
This commit is contained in:
parent
979de190dc
commit
10dae7482c
5 changed files with 22 additions and 9 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#include "nvcomputer.h"
|
||||
#include "utils.h"
|
||||
|
||||
#include <QUdpSocket>
|
||||
#include <QHostInfo>
|
||||
|
|
@ -229,7 +230,7 @@ bool NvComputer::wake()
|
|||
success = true;
|
||||
}
|
||||
else {
|
||||
qWarning() << "Send failed:" << sock.error();
|
||||
qWarning() << "Send failed:" << QSOCK_GET_ERROR(&sock);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue