summaryrefslogtreecommitdiff
path: root/plugins/Toaster/src/services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Toaster/src/services.cpp')
-rw-r--r--plugins/Toaster/src/services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Toaster/src/services.cpp b/plugins/Toaster/src/services.cpp
index 389607d748..b70dfe253d 100644
--- a/plugins/Toaster/src/services.cpp
+++ b/plugins/Toaster/src/services.cpp
@@ -182,7 +182,7 @@ static INT_PTR HideToast(WPARAM, LPARAM lParam)
{
auto *pNotification = (ToastNotification*)lParam;
if (pNotification)
- pNotification->Hide();
+ pNotification->Destroy();
return 0;
}