|
|
|
@ -242,9 +242,8 @@ void Widget::init()
@@ -242,9 +242,8 @@ void Widget::init()
|
|
|
|
|
connect(profile, &Profile::selfAvatarChanged, profileForm, &ProfileForm::onSelfAvatarLoaded); |
|
|
|
|
|
|
|
|
|
const Settings& s = Settings::getInstance(); |
|
|
|
|
CoreAV* av = core->getAv(); |
|
|
|
|
connect(av, &CoreAV::avEnd, this, &Widget::onCallEnd); |
|
|
|
|
|
|
|
|
|
core->callWhenAvReady([this](CoreAV* av){connect(av, &CoreAV::avEnd, this, &Widget::onCallEnd);}); |
|
|
|
|
connect(core, &Core::fileDownloadFinished, filesForm, &FilesForm::onFileDownloadComplete); |
|
|
|
|
connect(core, &Core::fileUploadFinished, filesForm, &FilesForm::onFileUploadComplete); |
|
|
|
|
connect(ui->addButton, &QPushButton::clicked, this, &Widget::onAddClicked); |
|
|
|
|