aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/scxmleditor/common/colorsettings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/scxmleditor/common/colorsettings.cpp')
-rw-r--r--src/plugins/scxmleditor/common/colorsettings.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/scxmleditor/common/colorsettings.cpp b/src/plugins/scxmleditor/common/colorsettings.cpp
index c2ad9f22ce2..1419b481bc5 100644
--- a/src/plugins/scxmleditor/common/colorsettings.cpp
+++ b/src/plugins/scxmleditor/common/colorsettings.cpp
@@ -36,7 +36,7 @@ ColorSettings::ColorSettings(QWidget *parent)
s->value(Constants::C_SETTINGS_COLORSETTINGS_CURRENTCOLORTHEME).toString());
selectTheme(m_comboColorThemes->currentIndex());
- using namespace Utils::Layouting;
+ using namespace Layouting;
Column {
Row {
m_comboColorThemes,
@@ -44,7 +44,8 @@ ColorSettings::ColorSettings(QWidget *parent)
removeTheme,
},
m_colorThemeView,
- }.attachTo(this, WithoutMargins);
+ noMargin
+ }.attachTo(this);
connect(m_comboColorThemes, &QComboBox::currentIndexChanged,
this, &ColorSettings::selectTheme);