NOISSUE fix constructing Path from iterators

Old Qt doesn't have the iterator-based constructors...
This commit is contained in:
Petr Mrázek 2020-10-11 23:28:38 +02:00
parent 0946c7c138
commit a49472349d

View File

@ -87,7 +87,11 @@ public:
private:
Path(const parts_type::const_iterator & start, const parts_type::const_iterator & end) {
parts = QStringList(start, end);
auto cursor = start;
while(cursor != end) {
parts.push_back(*cursor);
cursor++;
}
}
int compare(const Path& p) const;