Commit 917e9b36 authored by Guillaume Roguez's avatar Guillaume Roguez Committed by Anthony Léonard

DataTransferModel: fix transferInfo() implementation

errors during structure copy

Change-Id: I458075abbf4b3acd8c9557253dba0581beb6f347
Reviewed-by: default avatarAnthony Léonard <anthony.leonard@savoirfairelinux.com>
parent 02f40929
......@@ -168,7 +168,8 @@ DataTransferModel::transferInfo(const std::string& lrc_id)
auto dring_info = static_cast<DataTransferInfo>(ConfigurationManager::instance().dataTransferInfo(dring_id));
datatransfer::Info lrc_info;
lrc_info.uid = lrc_id;
lrc_info.isOutgoing = dring_info.lastEvent;
lrc_info.isOutgoing = dring_info.isOutgoing;
lrc_info.totalSize = dring_info.totalSize;
lrc_info.progress = dring_info.lastEvent;
lrc_info.path = dring_info.displayName.toStdString();
lrc_info.displayName = dring_info.displayName.toStdString();
......
Markdown is supported
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