53 "8" |
53 "8" |
54 }; |
54 }; |
55 const QString baseName = path.fileName(); |
55 const QString baseName = path.fileName(); |
56 const QString dirName = QFileInfo{path.dir().path()}.fileName(); |
56 const QString dirName = QFileInfo{path.dir().path()}.fileName(); |
57 QString result; |
57 QString result; |
58 if (utility::contains(paths, dirName)) |
58 if (std::find(std::begin(paths), std::end(paths), dirName) != std::end(paths)) |
59 { |
59 { |
60 result = dirName + "\\" + baseName; |
60 result = dirName + "\\" + baseName; |
61 } |
61 } |
62 else |
62 else |
63 { |
63 { |