forked from qt-creator/qt-creator
Lua: Add Install module
Allows plugins to install packages they might need. Change-Id: I4948dd0a6568e093fc35e4486d2e2a084090e103 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -92,11 +92,12 @@ void addFetchModule()
|
||||
reply->deleteLater();
|
||||
|
||||
if (reply->error() != QNetworkReply::NoError) {
|
||||
callback(QString("%1 (%2)")
|
||||
callback(QString("%1 (%2):\n%3")
|
||||
.arg(reply->errorString())
|
||||
.arg(QString::fromLatin1(
|
||||
QMetaEnum::fromType<QNetworkReply::NetworkError>()
|
||||
.valueToKey(reply->error()))));
|
||||
.valueToKey(reply->error())))
|
||||
.arg(QString::fromUtf8(reply->readAll())));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user