mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +03:00
SyncJournalDb: use QByteArray for etag and fileid
This commit is contained in:
parent
0d54b88ab2
commit
f4ea34e63b
2 changed files with 4 additions and 4 deletions
|
@ -482,8 +482,8 @@ SyncJournalFileRecord SyncJournalDb::getFileRecord( const QString& filename )
|
|||
rec._mode = _getFileRecordQuery->value(4).toInt(&ok);
|
||||
rec._modtime = Utility::qDateTimeFromTime_t(_getFileRecordQuery->value(5).toLongLong(&ok));
|
||||
rec._type = _getFileRecordQuery->value(6).toInt(&ok);
|
||||
rec._etag = _getFileRecordQuery->value(7).toString();
|
||||
rec._fileId = _getFileRecordQuery->value(8).toString();
|
||||
rec._etag = _getFileRecordQuery->value(7).toByteArray();
|
||||
rec._fileId = _getFileRecordQuery->value(8).toByteArray();
|
||||
rec._remotePerm = _getFileRecordQuery->value(9).toByteArray();
|
||||
|
||||
_getFileRecordQuery->finish();
|
||||
|
|
|
@ -35,8 +35,8 @@ public:
|
|||
quint64 _inode;
|
||||
QDateTime _modtime;
|
||||
int _type;
|
||||
QString _etag; // FIXME Why not QByteArray?
|
||||
QString _fileId; // FIXME Why not QByteArray?
|
||||
QByteArray _etag;
|
||||
QByteArray _fileId;
|
||||
QByteArray _remotePerm;
|
||||
int _mode;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue