mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 15:45:42 +00:00
Qt/GameListSettings: Use native path separators
Fixes possible duplicate game list entries on Windows.
This commit is contained in:
parent
1069e12bff
commit
2853bf851a
|
@ -248,7 +248,9 @@ void GameListSettingsWidget::onDirectoryListItemClicked(const QModelIndex& index
|
|||
|
||||
void GameListSettingsWidget::addSearchDirectory(QWidget* parent_widget)
|
||||
{
|
||||
QString dir = QFileDialog::getExistingDirectory(parent_widget, tr("Select Search Directory"));
|
||||
QString dir =
|
||||
QDir::toNativeSeparators(QFileDialog::getExistingDirectory(parent_widget, tr("Select Search Directory")));
|
||||
|
||||
if (dir.isEmpty())
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue