mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 13:05:51 +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"));
|
||||
} else if (property == QLatin1String("getlastmodified")) {
|
||||
const auto date = QDateTime::fromString(value, Qt::RFC2822Date);
|
||||
if (date.isValid()) {
|
||||
qCCritical(lcDiscovery) << "Failed to parse getlastmodified:" << value;
|
||||
}
|
||||
Q_ASSERT(date.isValid());
|
||||
result.modtime = date.toTime_t();
|
||||
} else if (property == QLatin1String("getcontentlength")) {
|
||||
// See #4573, sometimes negative size values are returned
|
||||
|
|
Loading…
Reference in a new issue