From f596312047389cbf5f437b7e8eb43b308c86fa58 Mon Sep 17 00:00:00 2001 From: Denis Shaposhnikov <993498+dsh2dsh@users.noreply.github.com> Date: Fri, 5 Apr 2024 22:31:46 +0200 Subject: [PATCH] Fix QT6 build with disabled SYSTEMD_SUPPORT (#244) See https://github.com/Martchus/syncthingtray/issues/244 --- plasmoid/lib/syncthingapplet.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plasmoid/lib/syncthingapplet.h b/plasmoid/lib/syncthingapplet.h index fa5cea7..06bf0a2 100644 --- a/plasmoid/lib/syncthingapplet.h +++ b/plasmoid/lib/syncthingapplet.h @@ -61,7 +61,9 @@ class SyncthingApplet : public Plasma::Applet { Q_PROPERTY(Data::SyncthingDownloadModel *downloadModel READ downloadModel NOTIFY downloadModelChanged) Q_PROPERTY(Data::SyncthingRecentChangesModel *recentChangesModel READ recentChangesModel NOTIFY recentChangesModelChanged) Q_PROPERTY(Data::SyncthingStatusSelectionModel *passiveSelectionModel READ passiveSelectionModel NOTIFY passiveSelectionModelChanged) +#ifdef LIB_SYNCTHING_CONNECTOR_SUPPORT_SYSTEMD Q_PROPERTY(Data::SyncthingService *service READ service NOTIFY serviceChanged) +#endif Q_PROPERTY(bool local READ isLocal NOTIFY localChanged) Q_PROPERTY(QString statusText READ statusText NOTIFY connectionStatusChanged) Q_PROPERTY(QString additionalStatusText READ additionalStatusText NOTIFY connectionStatusChanged)