aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index c7b6259..3daeb95 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -272,7 +272,7 @@ int main(int argc, char *argv[])
auto urls = cli_parser.positionalArguments();
if(urls.size() > 0) {
- for(auto url_str : urls) {
+ for(const auto &url_str : urls) {
QUrl url { url_str };
if (url.isRelative()) {
if (QFile::exists(url_str)) {