Skip to content
Snippets Groups Projects
Commit f92994a9 authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

data_transfer: decode multibyte strings

Change-Id: I60de94a521064ceb48cd5f70229230cd43827dd1
parent 8ba843e1
No related branches found
No related tags found
No related merge requests found
...@@ -641,8 +641,8 @@ public Q_SLOTS: // METHODS ...@@ -641,8 +641,8 @@ public Q_SLOTS: // METHODS
dring_info.totalSize = lrc_info.totalSize; dring_info.totalSize = lrc_info.totalSize;
dring_info.bytesProgress = lrc_info.bytesProgress; dring_info.bytesProgress = lrc_info.bytesProgress;
dring_info.peer = lrc_info.peer.toStdString(); dring_info.peer = lrc_info.peer.toStdString();
dring_info.displayName = lrc_info.displayName.toStdString(); dring_info.displayName = lrc_info.displayName.toLocal8Bit().constData();
dring_info.path = lrc_info.path.toStdString(); dring_info.path = lrc_info.path.toLocal8Bit().constData();
dring_info.mimetype = lrc_info.mimetype.toStdString(); dring_info.mimetype = lrc_info.mimetype.toStdString();
return uint32_t(DRing::sendFile(dring_info, id)); return uint32_t(DRing::sendFile(dring_info, id));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment