summary refs log tree commit diff
path: root/src/dialogs
diff options
context:
space:
mode:
authortrilene <trilene@runbox.com>2020-07-29 18:16:52 -0400
committertrilene <trilene@runbox.com>2020-07-29 18:16:52 -0400
commit97681ccf648e68d85aea39de22684ff52e9470c8 (patch)
tree858cc4385f6de87b0e021d4ee4f5bc6f654e95ba /src/dialogs
parentHandle ICE failure (diff)
downloadnheko-97681ccf648e68d85aea39de22684ff52e9470c8.tar.xz
Remove references to video calls
Diffstat (limited to 'src/dialogs')
-rw-r--r--src/dialogs/PlaceCall.cpp6
-rw-r--r--src/dialogs/PlaceCall.h2
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_; };