Apply clang-format
This commit is contained in:
parent
5b2147a874
commit
c0e2e0bce1
|
@ -1,7 +1,7 @@
|
|||
#include "./syncthingicons.h"
|
||||
|
||||
#include <QGuiApplication>
|
||||
#include <QFile>
|
||||
#include <QGuiApplication>
|
||||
#include <QPainter>
|
||||
#include <QStringBuilder>
|
||||
#include <QSvgRenderer>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue