[Client] Settings: match CI clang-format-18 line breaking

This commit is contained in:
Lukas Brübach 2026-10-11 13:04:00 +02:00
parent 8572ac65e6
commit 3745c5d21d

View file

@ -79,14 +79,14 @@ bool TabSettings::closeRequest()
"Would you like to change your database location setting?"); "Would you like to change your database location setting?");
break; break;
case FileError: case FileError:
loadErrorMessage = QCoreApplication::translate( loadErrorMessage =
"DlgSettings", "File Error loading your card database.\n\n" QCoreApplication::translate("DlgSettings", "File Error loading your card database.\n\n"
"Would you like to change your database location setting?"); "Would you like to change your database location setting?");
break; break;
case NoCards: case NoCards:
loadErrorMessage = QCoreApplication::translate( loadErrorMessage =
"DlgSettings", "Your card database was loaded but contains no cards.\n\n" QCoreApplication::translate("DlgSettings", "Your card database was loaded but contains no cards.\n\n"
"Would you like to change your database location setting?"); "Would you like to change your database location setting?");
break; break;
default: default:
loadErrorMessage = QCoreApplication::translate( loadErrorMessage = QCoreApplication::translate(
@ -117,11 +117,11 @@ bool TabSettings::closeRequest()
if (!QDir(SettingsCache::instance().paths().getPicsPath()).exists() || if (!QDir(SettingsCache::instance().paths().getPicsPath()).exists() ||
SettingsCache::instance().paths().getPicsPath().isEmpty()) { SettingsCache::instance().paths().getPicsPath().isEmpty()) {
if (QMessageBox::critical( if (QMessageBox::critical(this, QCoreApplication::translate("DlgSettings", "Error"),
this, QCoreApplication::translate("DlgSettings", "Error"), QCoreApplication::translate("DlgSettings",
QCoreApplication::translate("DlgSettings", "The path to your card pictures directory is invalid. " "The path to your card pictures directory is invalid. "
"Would you like to go back and set the correct path?"), "Would you like to go back and set the correct path?"),
QMessageBox::Yes | QMessageBox::No) == QMessageBox::Yes) { QMessageBox::Yes | QMessageBox::No) == QMessageBox::Yes) {
return false; return false;
} }
} }