From a836612a92bcc69e301a8c9bc31fbac818588c6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sun, 21 Apr 2013 13:21:09 +0200 Subject: [PATCH] Move Composite suspended by dbus notification directly to where it's used --- composite.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/composite.cpp b/composite.cpp index 078cf6215c..0cb8c9f3ee 100644 --- a/composite.cpp +++ b/composite.cpp @@ -36,7 +36,6 @@ along with this program. If not, see . #include "shadow.h" #include "useractions.h" #include "compositingprefs.h" -#include "notifications.h" #include "xcbutils.h" #include @@ -392,7 +391,7 @@ void Compositor::toggleCompositing() // display notification only if there is the shortcut message = i18n("Desktop effects have been suspended by another application.
" "You can resume using the '%1' shortcut.", shortcut); - Notify::raise(Notify::CompositingSuspendedDbus, message); + KNotification::event("compositingsuspendeddbus", message); } } }