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

update core api

fixes #882
This commit is contained in:
Dubslow 2014-11-30 09:20:32 -06:00
parent 2d0fb3595b
commit 90e8afa24d
No known key found for this signature in database
GPG Key ID: 3DB8E05315C220AA

View File

@ -258,8 +258,8 @@ void Core::start()
toxav_register_callstate_callback(toxav, onAvRequestTimeout, av_OnRequestTimeout, this);
toxav_register_callstate_callback(toxav, onAvPeerTimeout, av_OnPeerTimeout, this);
toxav_register_audio_callback(playCallAudio, this);
toxav_register_video_callback(playCallVideo, this);
toxav_register_audio_callback(toxav, playCallAudio, this);
toxav_register_video_callback(toxav, playCallVideo, this);
QPixmap pic = Settings::getInstance().getSavedAvatar(getSelfId().toString());
if (!pic.isNull() && !pic.size().isEmpty())