summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorJoona Petrell <joona.t.petrell@nokia.com>2011-03-14 06:45:15 (GMT)
committerJoona Petrell <joona.t.petrell@nokia.com>2011-03-18 06:51:27 (GMT)
commit0d481aa65254d76b7d22dc1e073dcd18e2c65f9b (patch)
treea01d287ebf9bb57f5a94cc68161f996ff26c4d9b /src/declarative
parent73d30f514e1411102fb6f8f21258276e72c836ec (diff)
downloadQt-0d481aa65254d76b7d22dc1e073dcd18e2c65f9b.zip
Qt-0d481aa65254d76b7d22dc1e073dcd18e2c65f9b.tar.gz
Qt-0d481aa65254d76b7d22dc1e073dcd18e2c65f9b.tar.bz2
Write Qt Quick 1.1 right-to-left documentation and examples
Task-number: QTBUG-11042 Reviewed-by: Martin Jones Change-Id: I6319992dec52a4d9252c2df39801ebe6a7dee75d
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/graphicsitems/qdeclarativetextinput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextinput.cpp b/src/declarative/graphicsitems/qdeclarativetextinput.cpp
index c6de7a0..af18c90 100644
--- a/src/declarative/graphicsitems/qdeclarativetextinput.cpp
+++ b/src/declarative/graphicsitems/qdeclarativetextinput.cpp
@@ -399,10 +399,10 @@ bool QDeclarativeTextInputPrivate::setHAlign(QDeclarativeTextInput::HAlignment a
if ((hAlign != alignment || forceAlign) && alignment <= QDeclarativeTextInput::AlignHCenter) { // justify not supported
QDeclarativeTextInput::HAlignment oldEffectiveHAlign = q->effectiveHAlign();
hAlign = alignment;
- return true;
emit q->horizontalAlignmentChanged(alignment);
if (oldEffectiveHAlign != q->effectiveHAlign())
emit q->effectiveHorizontalAlignmentChanged();
+ return true;
}
return false;
}