Apply clang-format

This commit is contained in:
Martchus 2023-01-28 20:19:43 +01:00
parent f444574cb8
commit 4d96f791b6
2 changed files with 3 additions and 3 deletions

View File

@ -508,7 +508,7 @@ void Application::printDir(const RelevantDir &relevantDir) const
const SyncthingDir *const dir = relevantDir.dirObj;
cout << " - " << TextAttribute::Bold;
if (dir->label.isEmpty()) {
cout << dir->id.toLocal8Bit().data() << '\n' << TextAttribute::Reset;
cout << dir->id.toLocal8Bit().data() << '\n' << TextAttribute::Reset;
} else {
cout << dir->label.toLocal8Bit().data() << '\n' << TextAttribute::Reset;
if (dir->id != dir->label) {

View File

@ -326,8 +326,8 @@ void TrayWidget::applySettingsChangesFromWizard()
void TrayWidget::showAboutDialog()
{
if (!s_aboutDlg) {
s_aboutDlg = new AboutDialog(
nullptr, QString(), aboutDialogAttribution(), QString(), {}, QStringLiteral(APP_URL), QString(), aboutDialogImage());
s_aboutDlg
= new AboutDialog(nullptr, QString(), aboutDialogAttribution(), QString(), {}, QStringLiteral(APP_URL), QString(), aboutDialogImage());
s_aboutDlg->setWindowTitle(tr("About") + QStringLiteral(" - " APP_NAME));
s_aboutDlg->setWindowIcon(QIcon(QStringLiteral(":/icons/hicolor/scalable/app/syncthingtray.svg")));
}