From 8580cdd95fe56e960fdf0b45a1744e7587c8010d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 29 Sep 2024 19:38:19 -0400 Subject: Remove unused constructor It looks like this has always been dead code. --- src/jalv_qt.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/jalv_qt.cpp') diff --git a/src/jalv_qt.cpp b/src/jalv_qt.cpp index 19acb9d..9afabca 100644 --- a/src/jalv_qt.cpp +++ b/src/jalv_qt.cpp @@ -58,8 +58,6 @@ static QApplication* app = nullptr; class FlowLayout final : public QLayout { public: - explicit FlowLayout(QWidget* parent, int margin, int hSpacing, int vSpacing); - explicit FlowLayout(int margin, int hSpacing, int vSpacing); FlowLayout(const FlowLayout&) = delete; @@ -92,14 +90,6 @@ private: int m_vSpace; }; -FlowLayout::FlowLayout(QWidget* parent, int margin, int hSpacing, int vSpacing) - : QLayout(parent) - , m_hSpace(hSpacing) - , m_vSpace(vSpacing) -{ - setContentsMargins(margin, margin, margin, margin); -} - FlowLayout::FlowLayout(int margin, int hSpacing, int vSpacing) : m_hSpace(hSpacing) , m_vSpace(vSpacing) -- cgit v1.2.1