diff options
author | George Hazan <ghazan@miranda.im> | 2023-02-21 17:09:34 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-02-21 17:09:34 +0300 |
commit | 12aa166ab2c280b1b8cf4d8507512c750a587de1 (patch) | |
tree | d86aaa3dd022a13e7c9e77b7db468ad260bdf634 /src/core/stduserinfo | |
parent | 4d2f4fab80174f6ab5e730b62fdf7abda015768b (diff) |
code cleaning
Diffstat (limited to 'src/core/stduserinfo')
-rw-r--r-- | src/core/stduserinfo/src/userinfo.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/stduserinfo/src/userinfo.cpp b/src/core/stduserinfo/src/userinfo.cpp index 30792d9244..96d15c8805 100644 --- a/src/core/stduserinfo/src/userinfo.cpp +++ b/src/core/stduserinfo/src/userinfo.cpp @@ -122,8 +122,7 @@ class CUserInfoDlg : public CDlgBase if (!it->pDialog->IsEmpty())
continue;
- delete it;
- items.remove(items.indexOf(&it));
+ delete items.removeItem(&it);
}
if (items.getCount() == 0)
|