Fix GLSpectrum flow layout setup

pull/1190/head
f4exb 2022-03-25 02:52:40 +01:00
rodzic 4111c967e9
commit 168bf09921
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -51,7 +51,7 @@ GLSpectrumGUI::GLSpectrumGUI(QWidget* parent) :
ui->verticalLayout->removeItem(ui->Line3Layout);
ui->verticalLayout->removeItem(ui->Line2Layout);
ui->verticalLayout->removeItem(ui->Line1Layout);
FlowLayout *flowLayout = new FlowLayout(this, 1, 1, 1);
FlowLayout *flowLayout = new FlowLayout(nullptr, 1, 1, 1);
flowLayout->addItem(ui->Line1Layout);
flowLayout->addItem(ui->Line2Layout);
flowLayout->addItem(ui->Line3Layout);