diff --git a/src/util/NuulsUploader.cpp b/src/util/NuulsUploader.cpp index 77c476e04..05ae31b49 100644 --- a/src/util/NuulsUploader.cpp +++ b/src/util/NuulsUploader.cpp @@ -104,7 +104,7 @@ void upload(const QMimeData *source, ChannelPtr channel, } else if (source->hasUrls()) { - for (QUrl path : source->urls()) + for (const QUrl &path : source->urls()) { if (getImageFileFormat(path.toLocalFile()) != QString()) {