mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Qt: fix thumbnail image loading
This commit is contained in:
parent
6cab8cf139
commit
0f2262f065
@ -2863,12 +2863,11 @@ void MainWindow::addPlaylistItemsToGrid(QString pathString)
|
||||
}
|
||||
else
|
||||
{
|
||||
thumbnailFileNameNoExt = hash["label_noext"];
|
||||
thumbnailFileNameNoExt.replace(m_fileSanitizerRegex, "_");
|
||||
imagePath = QString(settings->paths.directory_thumbnails) + "/" + hash.value("db_name") + "/" + THUMBNAIL_BOXART + "/" + thumbnailFileNameNoExt + ".png";
|
||||
}
|
||||
|
||||
thumbnailFileNameNoExt = hash["label_noext"];
|
||||
thumbnailFileNameNoExt.replace(m_fileSanitizerRegex, "_");
|
||||
|
||||
item->hash = hash;
|
||||
item->widget = new ThumbnailWidget();
|
||||
item->widget->setSizeHint(thumbnailWidgetSizeHint);
|
||||
|
Loading…
x
Reference in New Issue
Block a user