Return paths from QListWidget */
| 70 | |
| 71 | /** Return paths from QListWidget */ |
| 72 | static QStringList getPaths(const QListWidget *list) |
| 73 | { |
| 74 | const int count = list->count(); |
| 75 | QStringList paths; |
| 76 | for (int i = 0; i < count; i++) { |
| 77 | QListWidgetItem *item = list->item(i); |
| 78 | paths << QDir::fromNativeSeparators(item->text()); |
| 79 | } |
| 80 | return paths; |
| 81 | } |
| 82 | |
| 83 | /** Platforms shown in the platform combobox */ |
| 84 | static const std::array<Platform::Type, 6> builtinPlatforms = { |
no outgoing calls
no test coverage detected