mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-12-03 19:33:33 +01:00
Qt: Run clang-format on all the source files in the pcsx2-qt directory
This commit is contained in:
1 parent
936836e096
commit
362e89d668
27 files changed
+145
-124
No files matched your search
@@ -99,9 +99,8 @@ void MemoryCardCreateDialog::updateState()
|
||||
void MemoryCardCreateDialog::createCard()
|
||||
{
|
||||
const QString name = m_ui.name->text();
|
||||
const std::string name_str = QStringLiteral("%1.%2").arg(name)
|
||||
.arg((m_fileType == MemoryCardFileType::PS1) ? QStringLiteral("mcr") : QStringLiteral("ps2"))
|
||||
.toStdString();
|
||||
const QString type = (m_fileType == MemoryCardFileType::PS1) ? QStringLiteral("mcr") : QStringLiteral("ps2");
|
||||
const std::string name_str = QStringLiteral("%1.%2").arg(name).arg(type).toStdString();
|
||||
if (!Path::IsValidFileName(name_str, false))
|
||||
{
|
||||
QMessageBox::critical(this, tr("Create Memory Card"),
|
||||
|
||||
Reference in new issue
Block a user