mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
Reformat all the things!
This commit is contained in:
parent
d27e85e9d7
commit
40bb9974f2
179 changed files with 1888 additions and 991 deletions
|
@ -247,11 +247,11 @@ void GCMemcardManager::SetSlotFile(int slot, QString path)
|
|||
|
||||
void GCMemcardManager::SetSlotFileInteractive(int slot)
|
||||
{
|
||||
QString path =
|
||||
QFileDialog::getOpenFileName(this, slot == 0 ? tr("Set memory card file for Slot A") :
|
||||
tr("Set memory card file for Slot B"),
|
||||
QString::fromStdString(File::GetUserPath(D_GCUSER_IDX)),
|
||||
tr("GameCube Memory Cards (*.raw *.gcp)"));
|
||||
QString path = QFileDialog::getOpenFileName(
|
||||
this,
|
||||
slot == 0 ? tr("Set memory card file for Slot A") : tr("Set memory card file for Slot B"),
|
||||
QString::fromStdString(File::GetUserPath(D_GCUSER_IDX)),
|
||||
tr("GameCube Memory Cards (*.raw *.gcp)"));
|
||||
if (!path.isEmpty())
|
||||
m_slot_file_edit[slot]->setText(path);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue