@@ -133,7 +133,7 void PythonProviders::register_product( | |||||
133 | std::for_each(std::cbegin(product_list), std::cend(product_list), |
|
133 | std::for_each(std::cbegin(product_list), std::cend(product_list), | |
134 | [id, f, root = root.get()](const auto& product) { |
|
134 | [id, f, root = root.get()](const auto& product) { | |
135 | const auto& path = std::get<0>(product); |
|
135 | const auto& path = std::get<0>(product); | |
136 | auto path_list = QString::fromStdString(path).split('/'); |
|
136 | auto path_list = QString::fromStdString(path).split('/', QString::SkipEmptyParts); | |
137 | auto name = *(std::cend(path_list) - 1); |
|
137 | auto name = *(std::cend(path_list) - 1); | |
138 | auto path_item |
|
138 | auto path_item | |
139 | = make_path_items(std::cbegin(path_list), std::cend(path_list) - 1, root); |
|
139 | = make_path_items(std::cbegin(path_list), std::cend(path_list) - 1, root); |
General Comments 0
You need to be logged in to leave comments.
Login now