From a4301048e3b2aa195ff73ff94a93011cf5f66c27 Mon Sep 17 00:00:00 2001
From: trilene <trilene@runbox.com>
Date: Thu, 23 Jul 2020 18:36:10 -0400
Subject: [PATCH] Fix QLayout warning

---
 src/dialogs/PlaceCall.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dialogs/PlaceCall.cpp b/src/dialogs/PlaceCall.cpp
index c5c78f940..9ad163846 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);
 
-- 
GitLab