diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-21 21:02:25 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-21 21:02:25 +0100 |
| commit | e1106ad42c003f58c06172cb6afef9f526d05d59 (patch) | |
| tree | 9f9c86977bfe2adc8a7dec8006ca3f485c8bdea6 | |
| parent | 569ce219594e5bf3246a97237d26db150c60e8fa (diff) | |
Use priority from profile (+1) in directory structure to be consistent.
| -rw-r--r-- | src/directoryrefresher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/directoryrefresher.cpp b/src/directoryrefresher.cpp index 26e43d53..063cd328 100644 --- a/src/directoryrefresher.cpp +++ b/src/directoryrefresher.cpp @@ -415,7 +415,7 @@ void DirectoryRefresher::addMultipleModsFilesToStructure( for (std::size_t i=0; i<entries.size(); ++i) {
const auto& e = entries[i];
- const int prio = static_cast<int>(i + 1);
+ const int prio = e.priority + 1;
if constexpr (DirectoryStats::EnableInstrumentation) {
stats[i].mod = entries[i].modName.toStdString();
|
