Remove references to video calls
2 files changed, 0 insertions, 8 deletions
diff --git a/src/dialogs/PlaceCall.cpp b/src/dialogs/PlaceCall.cpp
index 9ad16384..81dd85dd 100644
--- a/src/dialogs/PlaceCall.cpp
+++ b/src/dialogs/PlaceCall.cpp
@@ -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();
diff --git a/src/dialogs/PlaceCall.h b/src/dialogs/PlaceCall.h
index 1c157b7b..ed6fb750 100644
--- a/src/dialogs/PlaceCall.h
+++ b/src/dialogs/PlaceCall.h
@@ -21,12 +21,10 @@ public:
signals:
void voice();
-// void video();
void cancel();
private:
QPushButton *voiceBtn_;
-// QPushButton *videoBtn_;
QPushButton *cancelBtn_;
};
|