Skip to content

Commit

Permalink
RMG-Input: use QDir::toNativeSeparators()
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosalie241 committed Dec 17, 2023
1 parent 23a0e51 commit ea8e9d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/RMG-Input/UserInterface/OptionsDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ void OptionsDialog::on_changeGameboyRomButton_clicked()

if (!gameBoyRom.isEmpty())
{
this->gameboyRomLineEdit->setText(gameBoyRom);
this->gameboyRomLineEdit->setText(QDir::toNativeSeparators(gameBoyRom));
}
}

Expand All @@ -97,6 +97,6 @@ void OptionsDialog::on_changeGameboySaveButton_clicked()

if (!gameBoySave.isEmpty())
{
this->gameboySaveLineEdit->setText(gameBoySave);
this->gameboySaveLineEdit->setText(QDir::toNativeSeparators(gameBoySave));
}
}

0 comments on commit ea8e9d6

Please sign in to comment.