From 587cce4216f2e1126e6ca822bb84029fa1d8f085 Mon Sep 17 00:00:00 2001 From: Martchus Date: Fri, 24 Aug 2018 15:34:36 +0200 Subject: [PATCH] Fix plasmoid build error when configured without web view See https://github.com/Martchus/syncthingtray/issues/19 --- plasmoid/lib/syncthingapplet.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plasmoid/lib/syncthingapplet.cpp b/plasmoid/lib/syncthingapplet.cpp index 3b71e03..0bfde0f 100644 --- a/plasmoid/lib/syncthingapplet.cpp +++ b/plasmoid/lib/syncthingapplet.cpp @@ -388,10 +388,12 @@ void SyncthingApplet::handleAboutDialogDeleted() m_aboutDlg = nullptr; } +#ifndef SYNCTHINGWIDGETS_NO_WEBVIEW void SyncthingApplet::handleWebViewDeleted() { m_webViewDlg = nullptr; } +#endif void SyncthingApplet::handleNewNotification(DateTime when, const QString &msg) {