| 1266 | } |
| 1267 | |
| 1268 | bool ChatRootView::isImageFile(const QString &filePath) const |
| 1269 | { |
| 1270 | static const QSet<QString> imageExtensions = {"png", "jpg", "jpeg", "gif", "webp", "bmp", "svg"}; |
| 1271 | |
| 1272 | QFileInfo fileInfo(filePath); |
| 1273 | return imageExtensions.contains(fileInfo.suffix().toLower()); |
| 1274 | } |
| 1275 | |
| 1276 | void ChatRootView::loadAvailableConfigurations() |
| 1277 | { |
nothing calls this directly
no outgoing calls
no test coverage detected