mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +03:00
FolderStatusModel: Fix typo in error message #3524
This commit is contained in:
parent
0e0af1da07
commit
2c011dcae6
1 changed files with 2 additions and 2 deletions
|
@ -149,7 +149,7 @@ QVariant FolderStatusModel::data(const QModelIndex &index, int role) const
|
||||||
return QVariant();
|
return QVariant();
|
||||||
case ErrorLabel:
|
case ErrorLabel:
|
||||||
switch(role) {
|
switch(role) {
|
||||||
case Qt::DisplayRole: return tr("Error while loading the list of folder from the server.");
|
case Qt::DisplayRole: return tr("Error while loading the list of folders from the server.");
|
||||||
default: return QVariant();
|
default: return QVariant();
|
||||||
}
|
}
|
||||||
case RootFolder:
|
case RootFolder:
|
||||||
|
@ -427,7 +427,7 @@ void FolderStatusModel::fetchMore(const QModelIndex& parent)
|
||||||
}
|
}
|
||||||
LsColJob *job = new LsColJob(_accountState->account(), path, this);
|
LsColJob *job = new LsColJob(_accountState->account(), path, this);
|
||||||
job->setProperties(QList<QByteArray>() << "resourcetype" << "quota-used-bytes");
|
job->setProperties(QList<QByteArray>() << "resourcetype" << "quota-used-bytes");
|
||||||
job->setTimeout(5 * 1000);
|
job->setTimeout(1);
|
||||||
connect(job, SIGNAL(directoryListingSubfolders(QStringList)),
|
connect(job, SIGNAL(directoryListingSubfolders(QStringList)),
|
||||||
SLOT(slotUpdateDirectories(QStringList)));
|
SLOT(slotUpdateDirectories(QStringList)));
|
||||||
connect(job, SIGNAL(finishedWithError(QNetworkReply*)),
|
connect(job, SIGNAL(finishedWithError(QNetworkReply*)),
|
||||||
|
|
Loading…
Reference in a new issue