Ensure chunkUploadFolder components are QStrings

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2023-07-28 17:58:14 +08:00 committed by Matthieu Gallien
parent a8a2a86316
commit 7d90641722

View file

@ -39,8 +39,8 @@ constexpr auto relativeUploadsPath = "remote.php/dav/uploads/";
QUrl PropagateUploadFileNG::chunkUploadFolderUrl() const
{
const auto userUploadPath = relativeUploadsPath + propagator()->account()->davUser();
const auto chunksUploadPath = userUploadPath + QLatin1Char('/') + QString::number(_transferId);
const QString userUploadPath = relativeUploadsPath + propagator()->account()->davUser();
const QString chunksUploadPath = userUploadPath + QLatin1Char('/') + QString::number(_transferId);
return Utility::concatUrlPath(propagator()->account()->url(), chunksUploadPath);
}