NOISSUE fix constructing Path from iterators
Old Qt doesn't have the iterator-based constructors...
This commit is contained in:
parent
0946c7c138
commit
a49472349d
@ -87,7 +87,11 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
Path(const parts_type::const_iterator & start, const parts_type::const_iterator & end) {
|
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;
|
int compare(const Path& p) const;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user