mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix build on Qt 5.9 - 5.14
This commit is contained in:
parent
56c9065f70
commit
2a5417e3ce
|
@ -43,7 +43,11 @@ void ForwarderController::downloadManifest() {
|
|||
connect(reply, &QNetworkReply::finished, this, [this, reply]() {
|
||||
gotManifest(reply);
|
||||
});
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0))
|
||||
connect(reply, &QNetworkReply::errorOccurred, this, [this, reply]() {
|
||||
#else
|
||||
connect(reply, qOverload<>(&QNetworkReply::error), this, [this, reply]() {
|
||||
#endif
|
||||
emit buildFailed();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue