Commit 2619e897 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

ItemCreateJob: fix overwriting modification time with null datetime

Code after d5ab6167 which was porting to the
new protocol no longer parsed a DATETIME argument. Instead for silent or
no merges the mtime is passed via a FetchItemsResponse, so in that case
the mtime is wrongly reset to null.
parent 14039b8f
Pipeline #89390 canceled with stage
......@@ -17,7 +17,6 @@
#include "private/protocol_p.h"
#include "protocolhelper_p.h"
#include <QDateTime>
#include <QFile>
#include <KLocalizedString>
......@@ -39,7 +38,6 @@ public:
Item mItem;
QSet<QByteArray> mParts;
QSet<QByteArray> mForeignParts;
QDateTime mDatetime;
QByteArray mPendingData;
ItemCreateJob::MergeOptions mMergeOptions = ItemCreateJob::NoMerge;
bool mItemReceived = false;
......@@ -228,7 +226,6 @@ Item ItemCreateJob::item() const
Item item(d->mItem);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment