From e41af697f76d3f02a940a2e581615423dff9f36d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20J=C3=BCrgens?= Date: Sat, 5 Nov 2022 00:08:25 +0100 Subject: [PATCH] fix error --- src/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index c43582a..9072bcf 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -55,6 +55,7 @@ void MainWindow::setupWebView() { {"--icon", image_path, "--app-name", "discord-screenaudio", title, message}); } else if (m_useKF5Notifications) { +#ifdef KNOTIFICATIONS KNotification *notification = new KNotification("discordNotification"); notification->setTitle(notificationInfo->title()); @@ -68,6 +69,7 @@ void MainWindow::setupWebView() { activateWindow(); }); notification->sendEvent(); +#endif } });