fixed invisible stream dialog

This commit is contained in:
Malte Jürgens 2022-07-29 01:03:25 +02:00
parent cb0f084d42
commit bda1bc0df6
No known key found for this signature in database
GPG Key ID: D29FBD5F93C0CFC3
1 changed files with 1 additions and 1 deletions

View File

@ -13,6 +13,7 @@ StreamDialog::StreamDialog() : QWidget() {
setAttribute(Qt::WA_QuitOnClose, false); setAttribute(Qt::WA_QuitOnClose, false);
auto layout = new QVBoxLayout(this); auto layout = new QVBoxLayout(this);
layout->setSizeConstraint(QLayout::SetFixedSize);
auto targetLabel = new QLabel(this); auto targetLabel = new QLabel(this);
targetLabel->setText("Which app do you want to stream sound from?"); targetLabel->setText("Which app do you want to stream sound from?");
@ -57,7 +58,6 @@ StreamDialog::StreamDialog() : QWidget() {
setLayout(layout); setLayout(layout);
setWindowTitle("discord-screenaudio Stream Dialog"); setWindowTitle("discord-screenaudio Stream Dialog");
setFixedSize(0, 0);
} }
void StreamDialog::startStream() { void StreamDialog::startStream() {