summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/notificationwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/notificationwidget.cpp')
-rw-r--r--desktop-widgets/notificationwidget.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop-widgets/notificationwidget.cpp b/desktop-widgets/notificationwidget.cpp
index e0227010c..7c156ee5c 100644
--- a/desktop-widgets/notificationwidget.cpp
+++ b/desktop-widgets/notificationwidget.cpp
@@ -16,6 +16,11 @@ void NotificationWidget::showNotification(QString message, KMessageWidget::Messa
animatedShow();
}
+void NotificationWidget::showError(QString message)
+{
+ showNotification(message, KMessageWidget::Error);
+}
+
void NotificationWidget::hideNotification()
{
animatedHide();