diff options
author | Jan Holthuis <jholthuis@mixxx.org> | 2022-01-14 22:47:14 +0100 |
---|---|---|
committer | Jan Holthuis <jholthuis@mixxx.org> | 2022-01-14 23:12:08 +0100 |
commit | 0adfe0cc9321eed476bcf29e1a35c35a3331fe4f (patch) | |
tree | 52e7f6d9860b9194ab294fb099f073b57f179448 | |
parent | e7edddb605b058a6a6cd16eee5b666add9ca925f (diff) |
WColorPicker: Use obsolete QGridLayout::setMargin()
This is equivalent to the newer `setContentMargins(0, 0, 0, 0)`.
-rw-r--r-- | src/widget/wcolorpicker.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/widget/wcolorpicker.cpp b/src/widget/wcolorpicker.cpp index 5a22068ac7..eb90d97cce 100644 --- a/src/widget/wcolorpicker.cpp +++ b/src/widget/wcolorpicker.cpp @@ -44,7 +44,6 @@ WColorPicker::WColorPicker(Options options, const ColorPalette& palette, QWidget m_pNoColorButton(nullptr), m_pCustomColorButton(nullptr) { QGridLayout* pLayout = new QGridLayout(); - pLayout->setMargin(0); pLayout->setContentsMargins(0, 0, 0, 0); pLayout->setSizeConstraint(QLayout::SetFixedSize); |