1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

refactor: Update AboutFriend with new interface

This commit is contained in:
Diadlo 2017-09-26 23:38:00 +03:00
parent b53569c362
commit 0efa42d423
No known key found for this signature in database
GPG Key ID: 5AF9F2E29107C727

View File

@ -13,7 +13,7 @@ AboutFriend::AboutFriend(const Friend* f, IFriendSettings* const s)
emit noteChanged(note);
});
s->connectTo_autoAcceptCallChanged(
[=](const ToxPk& pk, IFriendSettings::AutoAcceptCallFlags flag) {
[=](const ToxPk& pk, IFriendSettings::AutoAcceptCallFlags flag) {
emit autoAcceptCallChanged(flag);
});
s->connectTo_autoAcceptDirChanged([=](const ToxPk& pk, const QString& dir) {