aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/components/formeditor/backgroundaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qmldesigner/components/formeditor/backgroundaction.cpp')
-rw-r--r--src/plugins/qmldesigner/components/formeditor/backgroundaction.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/formeditor/backgroundaction.cpp b/src/plugins/qmldesigner/components/formeditor/backgroundaction.cpp
index 7403c239b35..a9d72be8ddb 100644
--- a/src/plugins/qmldesigner/components/formeditor/backgroundaction.cpp
+++ b/src/plugins/qmldesigner/components/formeditor/backgroundaction.cpp
@@ -3,6 +3,8 @@
#include "backgroundaction.h"
+#include <utils/stylehelper.h>
+
#include <QComboBox>
#include <QPainter>
@@ -52,7 +54,7 @@ QWidget *BackgroundAction::createWidget(QWidget *parent)
connect(comboBox, &QComboBox::currentIndexChanged,
this, &BackgroundAction::emitBackgroundChanged);
- comboBox->setProperty("hideborder", true);
+ comboBox->setProperty(Utils::StyleHelper::C_HIDE_BORDER, true);
comboBox->setToolTip(tr("Set the color of the canvas."));
m_comboBox = comboBox;
return comboBox;