fix error
This commit is contained in:
parent
b0a8815bb8
commit
e41af697f7
1 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,7 @@ void MainWindow::setupWebView() {
|
||||||
{"--icon", image_path, "--app-name",
|
{"--icon", image_path, "--app-name",
|
||||||
"discord-screenaudio", title, message});
|
"discord-screenaudio", title, message});
|
||||||
} else if (m_useKF5Notifications) {
|
} else if (m_useKF5Notifications) {
|
||||||
|
#ifdef KNOTIFICATIONS
|
||||||
KNotification *notification =
|
KNotification *notification =
|
||||||
new KNotification("discordNotification");
|
new KNotification("discordNotification");
|
||||||
notification->setTitle(notificationInfo->title());
|
notification->setTitle(notificationInfo->title());
|
||||||
|
@ -68,6 +69,7 @@ void MainWindow::setupWebView() {
|
||||||
activateWindow();
|
activateWindow();
|
||||||
});
|
});
|
||||||
notification->sendEvent();
|
notification->sendEvent();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue