| 52 | } |
| 53 | |
| 54 | static bool freecadCanOpen(const QString& extension) |
| 55 | { |
| 56 | std::string ext = extension.toStdString(); |
| 57 | auto importTypes = App::GetApplication().getImportTypes(); |
| 58 | return std::ranges::find_if( |
| 59 | importTypes, |
| 60 | [&ext](const auto& item) { return boost::iequals(item, ext); } |
| 61 | ) |
| 62 | != importTypes.end(); |
| 63 | } |
| 64 | |
| 65 | DisplayedFilesModel::DisplayedFilesModel(QObject* parent) |
| 66 | : QAbstractListModel(parent) |
no test coverage detected