mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix issue with LoadSymbolMap filename
This commit is contained in:
parent
141d3b657a
commit
8edf25552f
1 changed files with 5 additions and 2 deletions
|
@ -256,9 +256,12 @@ void MainWindow::lmapAct()
|
|||
dialog.setAcceptMode(QFileDialog::AcceptOpen);
|
||||
QStringList fileNames;
|
||||
if (dialog.exec())
|
||||
{
|
||||
fileNames = dialog.selectedFiles();
|
||||
symbolMap.LoadSymbolMap(fileNames[0].toStdString().c_str());
|
||||
|
||||
if (fileNames.count() > 0)
|
||||
{
|
||||
QString fileName = QFileInfo(fileNames[0]).absoluteFilePath();
|
||||
symbolMap.LoadSymbolMap(fileName.toStdString().c_str());
|
||||
notifyMapsLoaded();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue