diff options
author | Jens Bache-Wiig <jens.bache-wiig@nokia.com> | 2011-02-02 18:30:28 +0100 |
---|---|---|
committer | Jens Bache-Wiig <jens.bache-wiig@nokia.com> | 2011-02-02 18:30:28 +0100 |
commit | f56ae0fab81179097fb362a9adf915289710db5e (patch) | |
tree | 2ecb67beb1adefab7cff28559771f79f568e2157 | |
parent | e808b69c4a1671f4db652ac3a232e1b023967b09 (diff) |
Fixed uninitilized values for textAlign and textBaseline
-rw-r--r-- | src/context2d.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/context2d.cpp b/src/context2d.cpp index 0ae52b8..9371462 100644 --- a/src/context2d.cpp +++ b/src/context2d.cpp @@ -1034,6 +1034,8 @@ void Context2D::reset() m_state.shadowBlur = 0; m_state.shadowColor = qRgba(0, 0, 0, 0); m_state.flags = AllIsFullOfDirt; + m_state.textAlign = Start; + m_state.textBaseline = Alphabetic; clear(); } |