mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 04:55:48 +03:00
json capital
This commit is contained in:
parent
6050d5873c
commit
eaa9c4fdf8
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ bool PollJob::finished()
|
|||
qDebug() << Q_FUNC_INFO << ">" << jsonData << "<" << reply()->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
|
||||
QVariantMap status = QtJson::parse(QString::fromUtf8(jsonData), ok).toMap();
|
||||
if (!ok || status.isEmpty()) {
|
||||
_item._errorString = tr("Invalid json reply from the poll URL");
|
||||
_item._errorString = tr("Invalid JSON reply from the poll URL");
|
||||
_item._status = SyncFileItem::NormalError;
|
||||
emit finishedSignal();
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue