mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(profile): write .tox file immediately on creation
Fixes issue where .tox file of a new profile wasn't written until connection was established.
This commit is contained in:
parent
c87682cde9
commit
49c8f9b9b5
|
@ -264,6 +264,7 @@ void Profile::initCore(const QByteArray& toxsave, const ICoreSettings& s, bool i
|
|||
if (isNewProfile) {
|
||||
core->setStatusMessage(tr("Toxing on qTox"));
|
||||
core->setUsername(name);
|
||||
onSaveToxSave();
|
||||
}
|
||||
|
||||
// save tox file when Core requests it
|
||||
|
|
Loading…
Reference in New Issue
Block a user