diff options
| author | fbeutel <fbeutel@users.noreply.github.com> | 2015-10-21 17:02:03 +0200 |
|---|---|---|
| committer | fbeutel <fbeutel@users.noreply.github.com> | 2015-10-21 17:02:03 +0200 |
| commit | c4f27aeb5cb3798c4dd95aa19d5cb166a602dd76 (patch) | |
| tree | 85a18f18e48843ccb4997b9ccde32b9cf3aeafdb /src/client/QXmppTransferManager.cpp | |
| parent | 90b681f47c7370d23bf7cd8cdda0fe41449cc255 (diff) | |
File transfer: Make sure the filename is being converted to a QUrl correctly
Diffstat (limited to 'src/client/QXmppTransferManager.cpp')
| -rw-r--r-- | src/client/QXmppTransferManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/QXmppTransferManager.cpp b/src/client/QXmppTransferManager.cpp index e32aded7..6fb2da75 100644 --- a/src/client/QXmppTransferManager.cpp +++ b/src/client/QXmppTransferManager.cpp @@ -1331,7 +1331,7 @@ QXmppTransferJob *QXmppTransferManager::sendFile(const QString &jid, const QStri // create job QXmppTransferJob *job = sendFile(jid, device, fileInfo); - job->setLocalFileUrl(filePath); + job->setLocalFileUrl(QUrl::fromLocalFile(filePath)); return job; } |
