summaryrefslogtreecommitdiff
path: root/src/controls/Private/qquickstyleitem_p.h
diff options
context:
space:
mode:
authorJens Bache-Wiig <jens.bache-wiig@digia.com>2013-10-15 14:31:57 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-15 14:45:22 +0200
commit4ca6773763ad6dc9ac12f9550889c2c1ec0e7af1 (patch)
tree30cb84962db35cf8c0e95fbe7bbf2649e01202c1 /src/controls/Private/qquickstyleitem_p.h
parent2bd4c2f4dfe84bd30d96dac65d6d06d9df5a4558 (diff)
downloadqtquickcontrols-4ca6773763ad6dc9ac12f9550889c2c1ec0e7af1.tar.gz
Fix broken tab rendering for TabView
There was a missing change notification on the paintMargins property. This was not caused, but simply triggered by the change to v4. Change-Id: Icf055d222bac39bd77cb4d3dc2f4c4c90ac629eb Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls/Private/qquickstyleitem_p.h')
-rw-r--r--src/controls/Private/qquickstyleitem_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Private/qquickstyleitem_p.h b/src/controls/Private/qquickstyleitem_p.h
index 3d67776f..7f267c9d 100644
--- a/src/controls/Private/qquickstyleitem_p.h
+++ b/src/controls/Private/qquickstyleitem_p.h
@@ -160,7 +160,7 @@ public:
void setMaximum(int maximum) { if (m_maximum != maximum) {m_maximum = maximum; emit maximumChanged();}}
void setValue(int value) { if (m_value!= value) {m_value = value; emit valueChanged();}}
void setStep(int step) { if (m_step != step) { m_step = step; emit stepChanged(); }}
- void setPaintMargins(int value) { if (m_paintMargins!= value) {m_paintMargins = value;} }
+ void setPaintMargins(int value) { if (m_paintMargins!= value) {m_paintMargins = value; emit paintMarginsChanged(); } }
void setElementType(const QString &str);
void setText(const QString &str) { if (m_text != str) {m_text = str; emit textChanged();}}
void setActiveControl(const QString &str) { if (m_activeControl != str) {m_activeControl = str; emit activeControlChanged();}}