diff options
Diffstat (limited to 'src/jalv_qt.cpp')
-rw-r--r-- | src/jalv_qt.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
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) |