From a44081526ac43ed87bf59c215468cbba77f8b5e3 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Sun, 7 Oct 2012 13:59:35 +0000 Subject: optimized r1802 git-svn-id: http://svn.miranda-ng.org/main/trunk@1803 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/QuickContacts/src/quickcontacts.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'plugins/QuickContacts') diff --git a/plugins/QuickContacts/src/quickcontacts.cpp b/plugins/QuickContacts/src/quickcontacts.cpp index d4be8da14c..697a64674e 100644 --- a/plugins/QuickContacts/src/quickcontacts.cpp +++ b/plugins/QuickContacts/src/quickcontacts.cpp @@ -132,12 +132,7 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) ProtoEnumAccounts(&pcount,&pdesc); - opts.num_protos = 0; - for (int loop=0;looptype==PROTOTYPE_PROTOCOL) - opts.num_protos++; - } + opts.num_protos = pcount; // Add hotkey to multiple services -- cgit v1.2.3