summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_profile.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-22 14:49:00 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-22 14:49:00 +0300
commitfcae50377289915682e56fcbd49297d76da38b51 (patch)
tree1aceb0a6cb033b6be709401a42cc13eea6b4c928 /protocols/Tox/src/tox_profile.cpp
parent9300399ed59f4d82f5e62f5ef43b752da4dd0735 (diff)
no more PROTO_INTERFACE::OnEvent
Diffstat (limited to 'protocols/Tox/src/tox_profile.cpp')
-rw-r--r--protocols/Tox/src/tox_profile.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/Tox/src/tox_profile.cpp b/protocols/Tox/src/tox_profile.cpp
index 4458e0e6c7..76744445e5 100644
--- a/protocols/Tox/src/tox_profile.cpp
+++ b/protocols/Tox/src/tox_profile.cpp
@@ -142,11 +142,10 @@ void CToxProto::SaveToxProfile(Tox *tox)
mir_free(data);
}
-int CToxProto::OnDeleteToxProfile()
+void CToxProto::OnErase()
{
ptrW profilePath(GetToxProfilePath());
_wunlink(profilePath);
- return 0;
}
INT_PTR CToxProto::OnCopyToxID(WPARAM, LPARAM)