Fix build with Qt 5.15

This commit is contained in:
Cameron Gutman
2020-02-24 17:39:24 -08:00
parent 979de190dc
commit 10dae7482c
5 changed files with 22 additions and 9 deletions

View File

@@ -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);
}
}
}