Skip to content
Snippets Groups Projects
Commit 86c5c9eb authored by Guillaume Roguez's avatar Guillaume Roguez Committed by Anthony Léonard
Browse files

datatransfer: modify bytes progression API


libring has changed the API name for bytes progression.

Change-Id: I7167cf8b85b45077e9fe178dd66e4a540ea30a2a
Reviewed-by: default avatarAnthony Léonard <anthony.leonard@savoirfairelinux.com>
parent 917e9b36
Branches
No related tags found
No related merge requests found
...@@ -180,7 +180,7 @@ DataTransferModel::transferInfo(const std::string& lrc_id) ...@@ -180,7 +180,7 @@ DataTransferModel::transferInfo(const std::string& lrc_id)
std::streamsize std::streamsize
DataTransferModel::bytesProgress(const std::string& lrc_id) DataTransferModel::bytesProgress(const std::string& lrc_id)
{ {
return ConfigurationManager::instance().dataTransferBytesSent(pimpl_->lrc2dringIdMap.at(lrc_id)); return ConfigurationManager::instance().dataTransferBytesProgress(pimpl_->lrc2dringIdMap.at(lrc_id));
} }
void void
......
...@@ -606,8 +606,8 @@ public Q_SLOTS: // METHODS ...@@ -606,8 +606,8 @@ public Q_SLOTS: // METHODS
return lrc_info; return lrc_info;
} }
uint64_t dataTransferBytesSent(uint64_t transfer_id) { uint64_t dataTransferBytesProgress(uint64_t transfer_id) {
return DRing::dataTransferBytesSent(transfer_id); return DRing::dataTransferBytesProgress(transfer_id);
} }
void acceptFileTransfer(uint64_t transfer_id, const QString& file_path, uint64_t offset) { void acceptFileTransfer(uint64_t transfer_id, const QString& file_path, uint64_t offset) {
......
...@@ -665,7 +665,7 @@ public Q_SLOTS: // METHODS ...@@ -665,7 +665,7 @@ public Q_SLOTS: // METHODS
return {}; return {};
} }
uint64_t dataTransferBytesSent(uint64_t transfer_id) { uint64_t dataTransferBytesProgress(uint64_t transfer_id) {
(void)transfer_id; (void)transfer_id;
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment