From 515b07f0d98c647c5151867d75a6c8a05d329bfa Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Fri, 28 Aug 2015 19:23:18 +0000 Subject: git-svn-id: http://svn.miranda-ng.org/main/trunk@15072 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Toaster/src/services.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/Toaster/src/services.cpp b/plugins/Toaster/src/services.cpp index 1168e8cc95..20a9303373 100644 --- a/plugins/Toaster/src/services.cpp +++ b/plugins/Toaster/src/services.cpp @@ -112,9 +112,9 @@ static INT_PTR PopupQuery(WPARAM wParam, LPARAM) bool enabled = db_get_b(0, "Popup", "ModuleIsEnabled", 1) != 0; if (enabled) db_set_b(0, "Popup", "ModuleIsEnabled", 0); + mir_cslock lck(csNotifications); while (lstNotifications.getCount()) { - mir_cslock lck(csNotifications); lstNotifications[0].Hide(); lstNotifications.remove(0); } -- cgit v1.2.3