return QVariant();
case ErrorLabel:
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();
}
case RootFolder:
}
LsColJob *job = new LsColJob(_accountState->account(), path, this);
job->setProperties(QList<QByteArray>() << "resourcetype" << "quota-used-bytes");
- job->setTimeout(5 * 1000);
+ job->setTimeout(1);
connect(job, SIGNAL(directoryListingSubfolders(QStringList)),
SLOT(slotUpdateDirectories(QStringList)));
connect(job, SIGNAL(finishedWithError(QNetworkReply*)),