aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/components/componentcore/zoomaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qmldesigner/components/componentcore/zoomaction.cpp')
-rw-r--r--src/plugins/qmldesigner/components/componentcore/zoomaction.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/componentcore/zoomaction.cpp b/src/plugins/qmldesigner/components/componentcore/zoomaction.cpp
index 3d0464778d3..e967be04ec8 100644
--- a/src/plugins/qmldesigner/components/componentcore/zoomaction.cpp
+++ b/src/plugins/qmldesigner/components/componentcore/zoomaction.cpp
@@ -7,6 +7,8 @@
#include <iterator>
#include <utility>
+#include <utils/stylehelper.h>
+
#include <QAbstractItemView>
#include <QComboBox>
#include <QToolBar>
@@ -123,7 +125,7 @@ QWidget *ZoomAction::createWidget(QWidget *parent)
{
if (!m_combo && parentIsToolBar(parent)) {
m_combo = createZoomComboBox(parent);
- m_combo->setProperty("hideborder", true);
+ m_combo->setProperty(Utils::StyleHelper::C_HIDE_BORDER, true);
m_combo->setCurrentIndex(m_index);
m_combo->setToolTip(m_combo->currentText());