mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Reformat all the things!
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user