From 168bf09921182ed200791103b7f7a24989ab9e3f Mon Sep 17 00:00:00 2001 From: f4exb Date: Fri, 25 Mar 2022 02:52:40 +0100 Subject: [PATCH] Fix GLSpectrum flow layout setup --- sdrgui/gui/glspectrumgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdrgui/gui/glspectrumgui.cpp b/sdrgui/gui/glspectrumgui.cpp index 8fa7e9526..fd0d9390d 100644 --- a/sdrgui/gui/glspectrumgui.cpp +++ b/sdrgui/gui/glspectrumgui.cpp @@ -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);