Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix: remove full screen btn from audio group chat
Browse files Browse the repository at this point in the history
Fixes: #5202
  • Loading branch information
tox-user committed Jul 1, 2018
1 parent 1537f83 commit 0d3f061
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/genericnetcamview.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ public slots:
protected:
QVBoxLayout* verLayout;
VideoSurface* videoSurface;
QPushButton* enterFullScreenButton = nullptr;

private:
QHBoxLayout* buttonLayout = nullptr;
QPushButton* toggleMessagesButton = nullptr;
QPushButton* enterFullScreenButton = nullptr;
QFrame* buttonPanel = nullptr;
QPushButton* videoPreviewButton = nullptr;
QPushButton* volumeButton = nullptr;
Expand Down
3 changes: 3 additions & 0 deletions src/video/groupnetcamview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ GroupNetCamView::GroupNetCamView(int group, QWidget* parent)
videoLabelSurface->layout()->setMargin(0);
videoLabelSurface->setStyleSheet("QFrame { background-color: black; }");

// remove full screen button in audio group chat since it's useless there
enterFullScreenButton->hide();

QSplitter* splitter = new QSplitter(Qt::Vertical, this);
splitter->setChildrenCollapsible(false);
verLayout->insertWidget(0, splitter, 1);
Expand Down

0 comments on commit 0d3f061

Please sign in to comment.