diff --git a/src/dialogs/PlaceCall.cpp b/src/dialogs/PlaceCall.cpp index c5c78f94..9ad16384 100644 --- a/src/dialogs/PlaceCall.cpp +++ b/src/dialogs/PlaceCall.cpp @@ -26,7 +26,7 @@ PlaceCall::PlaceCall( layout->setSpacing(conf::modals::WIDGET_SPACING); layout->setMargin(conf::modals::WIDGET_MARGIN); - auto buttonLayout = new QHBoxLayout(this); + auto buttonLayout = new QHBoxLayout; buttonLayout->setSpacing(15); buttonLayout->setMargin(0);