mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-20 03:24:49 +00:00
Qt: Better title bar for SFO Viewer menu (#2462)
This commit is contained in:
parent
195b94c1f1
commit
b06790dfe5
1 changed files with 2 additions and 1 deletions
|
@ -161,6 +161,7 @@ public:
|
|||
|
||||
if (selected == &openSfoViewer) {
|
||||
PSF psf;
|
||||
QString gameName = QString::fromStdString(m_games[itemID].name);
|
||||
std::filesystem::path game_folder_path = m_games[itemID].path;
|
||||
std::filesystem::path game_update_path = game_folder_path;
|
||||
game_update_path += "-UPDATE";
|
||||
|
@ -234,7 +235,7 @@ public:
|
|||
tableWidget->horizontalHeader()->setVisible(false);
|
||||
|
||||
tableWidget->horizontalHeader()->setSectionResizeMode(QHeaderView::Fixed);
|
||||
tableWidget->setWindowTitle(tr("SFO Viewer"));
|
||||
tableWidget->setWindowTitle(tr("SFO Viewer for ") + gameName);
|
||||
tableWidget->show();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue