summaryrefslogtreecommitdiff
path: root/plugins/Toaster/src/services.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-06-29 16:46:25 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-06-29 16:46:25 +0300
commit5c272fb331e50049bffda46aa120c159e983a6d7 (patch)
treee4ae6a031e85774d302c760a14e0702e45e99edf /plugins/Toaster/src/services.cpp
parentc053264e73a9ce72ca1ebf89c795f0939f4d74ea (diff)
Toaster: hard times need hard ways
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;
}