mirror of
https://github.com/libretro/RetroArch
synced 2025-03-23 19:21:03 +00:00
Qt: fix thumbnail display in file browser when name has dots in it
This commit is contained in:
parent
b60e35ce48
commit
bdf5efd4ab
@ -2727,7 +2727,7 @@ void MainWindow::selectBrowserDir(QString path)
|
||||
|
||||
hash["path"] = filePath;
|
||||
hash["label"] = hash["path"];
|
||||
hash["label_noext"] = fileInfo.fileName().remove(QString(".") + fileInfo.completeSuffix());
|
||||
hash["label_noext"] = fileInfo.completeBaseName();
|
||||
hash["db_name"] = fileInfo.dir().dirName();
|
||||
|
||||
item->setData(Qt::UserRole, QVariant::fromValue<QHash<QString, QString> >(hash));
|
||||
|
Loading…
x
Reference in New Issue
Block a user