Skip to content

Commit

Permalink
Start: Show thumbnail if filename contains a dot
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Nov 26, 2024
1 parent d365d66 commit 315c7c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Start/App/DisplayedFilesModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ void DisplayedFilesModel::addFile(const QString& filePath)
return;
}
_fileInfoCache.emplace_back(getFileInfo(filePath.toStdString()));
if (qfi.completeSuffix().toLower() == QLatin1String("fcstd")) {
if (qfi.suffix().toLower() == QLatin1String("fcstd")) {
auto thumbnail = loadFCStdThumbnail(filePath.toStdString());
if (!thumbnail.isEmpty()) {
_imageCache.insert(filePath, thumbnail);
Expand Down

0 comments on commit 315c7c4

Please sign in to comment.