aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_qt.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-09-29 19:38:19 -0400
committerDavid Robillard <d@drobilla.net>2024-10-12 14:07:10 -0400
commit8580cdd95fe56e960fdf0b45a1744e7587c8010d (patch)
treec2408aa97ce63dc6eb3cf5d971d6a6142fafeda4 /src/jalv_qt.cpp
parentdff2af2473b291e40ec67fb03f8ac8d9995188c5 (diff)
downloadjalv-8580cdd95fe56e960fdf0b45a1744e7587c8010d.tar.gz
jalv-8580cdd95fe56e960fdf0b45a1744e7587c8010d.tar.bz2
jalv-8580cdd95fe56e960fdf0b45a1744e7587c8010d.zip
Remove unused constructor
It looks like this has always been dead code.
Diffstat (limited to 'src/jalv_qt.cpp')
-rw-r--r--src/jalv_qt.cpp10
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)