mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Don't save settings a billion times on startup
This commit is contained in:
parent
8fbc0c8b59
commit
5f16c5c1da
|
@ -1291,7 +1291,6 @@ void Settings::setFriendActivity(const ToxId &id, const QDate &activity)
|
||||||
fp.activity = activity;
|
fp.activity = activity;
|
||||||
friendLst[key] = fp;
|
friendLst[key] = fp;
|
||||||
}
|
}
|
||||||
savePersonal();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Settings::removeFriendSettings(const ToxId &id)
|
void Settings::removeFriendSettings(const ToxId &id)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user