diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2016-04-27 12:44:53 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2016-04-27 12:44:53 +0000 |
commit | 6524ac4e637dba2de42df5ca6eac4a9a5501a4d2 (patch) | |
tree | 7dcf19e3e117b2cd5479615f12425518cb7fe3d8 /protocols/Tox/src/tox_options.cpp | |
parent | 497a5b44f0784b488ede3e450cdb2b281c7a86d8 (diff) |
Tox:
- attempt to fix avatar hash
- some changes with toxThread
git-svn-id: http://svn.miranda-ng.org/main/trunk@16773 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_options.cpp')
-rw-r--r-- | protocols/Tox/src/tox_options.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_options.cpp b/protocols/Tox/src/tox_options.cpp index f28009ade5..7b1a89ad16 100644 --- a/protocols/Tox/src/tox_options.cpp +++ b/protocols/Tox/src/tox_options.cpp @@ -62,7 +62,10 @@ void CToxOptionsMain::ToxAddressCopy_OnClick(CCtrlButton*) void CToxOptionsMain::ProfileCreate_OnClick(CCtrlButton*)
{
- CToxThread toxThread;
+ Tox_Options *options;
+ tox_options_default(options);
+ CToxThread toxThread(options);
+ tox_options_free(options);
ptrT profilePath(m_proto->GetToxProfilePath());
if (!m_proto->IsFileExists(profilePath))
|