Remove references to video calls

This commit is contained in:
trilene 2020-07-29 18:16:52 -04:00
parent 43ec0c0624
commit 97681ccf64
6 changed files with 21 additions and 30 deletions

View file

@ -40,13 +40,11 @@ PlaceCall::PlaceCall(
voiceBtn_ = new QPushButton(tr("Voice Call"), this);
voiceBtn_->setDefault(true);
//videoBtn_ = new QPushButton(tr("Video Call"), this);
cancelBtn_ = new QPushButton(tr("Cancel"), this);
buttonLayout->addStretch(1);
buttonLayout->addWidget(avatar);
buttonLayout->addWidget(voiceBtn_);
//buttonLayout->addWidget(videoBtn_);
buttonLayout->addWidget(cancelBtn_);
QString name = displayName.isEmpty() ? callee : displayName;
@ -59,10 +57,6 @@ PlaceCall::PlaceCall(
emit voice();
emit close();
});
/*connect(videoBtn_, &QPushButton::clicked, this, [this]() {
emit video();
emit close();
});*/
connect(cancelBtn_, &QPushButton::clicked, this, [this]() {
emit cancel();
emit close();