diff --git a/src/config/configwindow.cpp b/src/config/configwindow.cpp index 2f358cb4..6067fad6 100644 --- a/src/config/configwindow.cpp +++ b/src/config/configwindow.cpp @@ -119,7 +119,7 @@ void ConfigWindow::initErrorIndicator(QWidget* tab, QWidget* widget) { QLabel* label = new QLabel(tab); QPushButton* btnShowErrors = new QPushButton("Show errors", tab); - QHBoxLayout* btnLayout = new QHBoxLayout(tab); + QHBoxLayout* btnLayout = new QHBoxLayout(); // Set up label label->setText(tr(