diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2014-05-18 17:36:40 +0300 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-20 20:24:54 +0200 |
commit | 4976e6817a7c11d2b0d01fd26bf5663db7aac5e5 (patch) | |
tree | dc296bec446c4376463624b8c6d87940285d09ad /src/gui/text/qtextlayout.cpp | |
parent | 4ee3c179447df872fe5115d30f3e449b8e9b8de9 (diff) |
Minor code clean-up
Change-Id: I5c43db4e0a499ecfd23f3dac63615e7c40208f36
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Diffstat (limited to 'src/gui/text/qtextlayout.cpp')
-rw-r--r-- | src/gui/text/qtextlayout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qtextlayout.cpp b/src/gui/text/qtextlayout.cpp index 245a9243f3..824ebbb2cf 100644 --- a/src/gui/text/qtextlayout.cpp +++ b/src/gui/text/qtextlayout.cpp @@ -562,7 +562,7 @@ bool QTextLayout::cacheEnabled() const */ void QTextLayout::setCursorMoveStyle(Qt::CursorMoveStyle style) { - d->visualMovement = style == Qt::VisualMoveStyle ? true : false; + d->visualMovement = style == Qt::VisualMoveStyle; } /*! |