1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Fix circles doubling when reloaded

We do need to clear before reloading.
This commit is contained in:
tux3 2015-06-27 21:32:11 +02:00
parent fc084d2795
commit 62d298462b
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -307,6 +307,7 @@ void Settings::loadPersonnal(Profile* profile)
ps.beginGroup("Circles");
size = ps.beginReadArray("Circle");
circleLst.clear();
circleLst.reserve(size);
for (int i = 0; i < size; i ++)
{