diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-08-30 10:31:02 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-08-30 10:31:02 +0000 |
commit | 10aaf104c7ad7f89fbc1a9eda713c99b21fdcfa2 (patch) | |
tree | f32fac989959bab724bacd6d437a838d0410661e /plugins/Toaster/src/main.cpp | |
parent | 5a18a53b28d4fa486069208d2f50a7216091e6e8 (diff) |
Toaster: fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@15115 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Toaster/src/main.cpp')
-rw-r--r-- | plugins/Toaster/src/main.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/Toaster/src/main.cpp b/plugins/Toaster/src/main.cpp index 66db53929e..007391119b 100644 --- a/plugins/Toaster/src/main.cpp +++ b/plugins/Toaster/src/main.cpp @@ -61,11 +61,6 @@ extern "C" int __declspec(dllexport) Unload(void) int OnPreShutdown(WPARAM, LPARAM)
{
- mir_cslock lck(csNotifications);
- for (int i = 0; i < lstNotifications.getCount(); i++)
- lstNotifications[i].Hide();
-
- lstNotifications.destroy();
-
+ HideAllToasts();
return 0;
}
\ No newline at end of file |