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:
parent
fc084d2795
commit
62d298462b
|
@ -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 ++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user