summaryrefslogtreecommitdiffstats
path: root/src/widget/wcolorpicker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget/wcolorpicker.cpp')
-rw-r--r--src/widget/wcolorpicker.cpp1
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);