Apply clang-format

This commit is contained in:
Martchus 2020-07-12 21:17:34 +02:00
parent 5b2147a874
commit c0e2e0bce1
3 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#include "./syncthingicons.h"
#include <QGuiApplication>
#include <QFile>
#include <QGuiApplication>
#include <QPainter>
#include <QStringBuilder>
#include <QSvgRenderer>

View File

@ -218,7 +218,8 @@ void SyncthingApplet::setCurrentConnectionConfigIndex(int index)
// apply systemd settings, reconnect if required and possible
#ifdef LIB_SYNCTHING_CONNECTOR_SUPPORT_SYSTEMD
const auto systemdConsideredForReconnect = settings.systemd.apply(m_connection, currentConnectionConfig(), reconnectRequired).consideredForReconnect;
const auto systemdConsideredForReconnect
= settings.systemd.apply(m_connection, currentConnectionConfig(), reconnectRequired).consideredForReconnect;
#else
const auto systemdRelevantForReconnect = false;
#endif

View File

@ -578,7 +578,8 @@ QWidget *IconsOptionPage::setupWidget()
widgetsForColor.colorButtons[1]->color(),
widgetsForColor.colorButtons[2]->color(),
},
widgetsForColor.statusEmblem), widgetsForColor.previewLabel->maximumSize()));
widgetsForColor.statusEmblem),
widgetsForColor.previewLabel->maximumSize()));
};
for (const auto &colorButton : widgetsForColor.colorButtons) {
QObject::connect(colorButton, &ColorButton::colorChanged, updatePreview);