Skip to content

Commit

Permalink
GCMemcardManager: Small cleanups.
Browse files Browse the repository at this point in the history
  • Loading branch information
AdmiralCurtiss committed Jan 28, 2021
1 parent e00e6e1 commit 7cf991b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Source/Core/DolphinQt/GCMemcardManager.cpp
Expand Up @@ -300,7 +300,7 @@ void GCMemcardManager::SetSlotFile(int slot, QString path)
else
{
m_slot_memcard[slot] = nullptr;
ModalMessageBox::critical(
ModalMessageBox::warning(
this, tr("Error"),
tr("Failed opening memory card:\n%1").arg(GetErrorMessagesForErrorCode(error_code)));
}
Expand All @@ -315,7 +315,8 @@ void GCMemcardManager::SetSlotFileInteractive(int slot)
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)") + QStringLiteral(";;") + tr("All Files (*)")));
QStringLiteral("%1 (*.raw *.gcp);;%2 (*)")
.arg(tr("GameCube Memory Cards"), tr("All Files"))));
if (!path.isEmpty())
m_slot_file_edit[slot]->setText(path);
}
Expand Down

0 comments on commit 7cf991b

Please sign in to comment.