Merge pull request #622 from ggrtk/qt-gamelistsettings
Qt/GameListSettings: Use native path separators
This commit is contained in:
commit
f67862de5f
|
@ -248,7 +248,9 @@ void GameListSettingsWidget::onDirectoryListItemClicked(const QModelIndex& index
|
||||||
|
|
||||||
void GameListSettingsWidget::addSearchDirectory(QWidget* parent_widget)
|
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())
|
if (dir.isEmpty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue