Apply clang-format
This commit is contained in:
parent
a6727b0fa7
commit
7ada03b00b
|
@ -26,8 +26,8 @@
|
|||
#include <QApplication>
|
||||
#include <QMessageBox>
|
||||
#include <QNetworkAccessManager>
|
||||
#include <QStringBuilder>
|
||||
#include <QSettings>
|
||||
#include <QStringBuilder>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
|
@ -54,8 +54,9 @@ int initSyncthingTray(bool windowed, bool waitForTray, const Argument &connectio
|
|||
{
|
||||
// get settings
|
||||
auto &settings = Settings::values();
|
||||
static const auto defaultConnection = std::vector<const char *>({""});
|
||||
const auto &connectionConfigurations = connectionConfigArg.isPresent() && !connectionConfigArg.values().empty() ? connectionConfigArg.values() : defaultConnection;
|
||||
static const auto defaultConnection = std::vector<const char *>({ "" });
|
||||
const auto &connectionConfigurations
|
||||
= connectionConfigArg.isPresent() && !connectionConfigArg.values().empty() ? connectionConfigArg.values() : defaultConnection;
|
||||
|
||||
// handle "windowed" case
|
||||
if (windowed) {
|
||||
|
|
|
@ -820,4 +820,5 @@ void TrayWidget::showDialog(QWidget *dlg)
|
|||
dlg->show();
|
||||
dlg->activateWindow();
|
||||
}
|
||||
|
||||
} // namespace QtGui
|
||||
|
|
Loading…
Reference in New Issue