mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
Don't warn if everything is fine
This commit is contained in:
parent
4e373ca7ff
commit
c03a5da670
1 changed files with 1 additions and 3 deletions
|
@ -391,9 +391,7 @@ static void propertyMapToRemoteInfo(const QMap<QString, QString> &map, RemoteInf
|
||||||
result.isDirectory = value.contains(QLatin1String("collection"));
|
result.isDirectory = value.contains(QLatin1String("collection"));
|
||||||
} else if (property == QLatin1String("getlastmodified")) {
|
} else if (property == QLatin1String("getlastmodified")) {
|
||||||
const auto date = QDateTime::fromString(value, Qt::RFC2822Date);
|
const auto date = QDateTime::fromString(value, Qt::RFC2822Date);
|
||||||
if (date.isValid()) {
|
Q_ASSERT(date.isValid());
|
||||||
qCCritical(lcDiscovery) << "Failed to parse getlastmodified:" << value;
|
|
||||||
}
|
|
||||||
result.modtime = date.toTime_t();
|
result.modtime = date.toTime_t();
|
||||||
} else if (property == QLatin1String("getcontentlength")) {
|
} else if (property == QLatin1String("getcontentlength")) {
|
||||||
// See #4573, sometimes negative size values are returned
|
// See #4573, sometimes negative size values are returned
|
||||||
|
|
Loading…
Reference in a new issue