diff options
author | Tamas Zakor <ztamas@inf.u-szeged.hu> | 2020-06-17 09:34:13 +0200 |
---|---|---|
committer | Tamas Zakor <ztamas@inf.u-szeged.hu> | 2020-06-19 09:01:26 +0200 |
commit | 027cce270aea504308e123988dfb5cd1658687d7 (patch) | |
tree | 43184dfd278200ab2fc58f75401e73eac8cd442e /src/core/file_picker_controller.cpp | |
parent | 6bae6dcf10d33b2986a022e4327fe4e8b76b5111 (diff) |
Fix compiler warnings in file_picker_controller.cpp
Change-Id: I6d160f90e7693d15cb495d38788c57b47a1fe548
Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Diffstat (limited to 'src/core/file_picker_controller.cpp')
-rw-r--r-- | src/core/file_picker_controller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_picker_controller.cpp b/src/core/file_picker_controller.cpp index 01a6d0746..65e2c6f00 100644 --- a/src/core/file_picker_controller.cpp +++ b/src/core/file_picker_controller.cpp @@ -120,7 +120,7 @@ void FilePickerController::accepted(const QStringList &files) } // Build absolute path from file URI componenets. - for (int j = 1; j < pathComponents.size(); j++) + for (size_t j = 1; j < pathComponents.size(); j++) absolutePath += toQt(pathComponents[j]) + (j != pathComponents.size()-1 ? "/" : ""); if (toFilePath(absolutePath).IsAbsolute()) { |