1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix: remove full screen btn from audio group chat

Fixes: #5202
This commit is contained in:
tox-user 2018-07-01 21:11:44 +00:00
parent 1537f83e85
commit 0d3f061ba8
No known key found for this signature in database
GPG Key ID: 7C132143C1A3A7D4
2 changed files with 4 additions and 1 deletions

View File

@ -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;

View File

@ -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);