mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-31 03:45:38 +00:00
Qt: Use native separators for open disc
This commit is contained in:
parent
fd462ab778
commit
5853588a52
|
@ -468,8 +468,8 @@ void MainWindow::onApplicationStateChanged(Qt::ApplicationState state)
|
|||
|
||||
void MainWindow::onStartDiscActionTriggered()
|
||||
{
|
||||
QString filename =
|
||||
QFileDialog::getOpenFileName(this, tr("Select Disc Image"), QString(), tr(DISC_IMAGE_FILTER), nullptr);
|
||||
QString filename = QDir::toNativeSeparators(
|
||||
QFileDialog::getOpenFileName(this, tr("Select Disc Image"), QString(), tr(DISC_IMAGE_FILTER), nullptr));
|
||||
if (filename.isEmpty())
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue