Apply clang-format
This commit is contained in:
parent
f444574cb8
commit
4d96f791b6
|
@ -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) {
|
||||
|
|
|
@ -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")));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue