mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-28 01:55:42 -04: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…
x
Reference in New Issue
Block a user