Skip to content

Commit

Permalink
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion model/syncthingicons.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "./syncthingicons.h"

#include <QGuiApplication>
#include <QFile>
#include <QGuiApplication>
#include <QPainter>
#include <QStringBuilder>
#include <QSvgRenderer>
3 changes: 2 additions & 1 deletion plasmoid/lib/syncthingapplet.cpp
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion widgets/settings/settingsdialog.cpp
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit c0e2e0b

Please sign in to comment.