diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-02-23 17:13:09 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-02-25 14:06:27 +0000 |
commit | 7bbde34ee012bbe90c4ce76736c6f71b16e64215 (patch) | |
tree | 964071b52f26b84ec1139db544d959adaafdf0a1 /src/gui/text/qtextengine.cpp | |
parent | e4e8a8ac77e3d09246412f1bf68324cfe90d00e2 (diff) |
Fix invocations of static methods of QGuiApplication/QApplication.
Change-Id: I99ba58763f6063fa2a6f511adbea0163cce7ea32
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'src/gui/text/qtextengine.cpp')
-rw-r--r-- | src/gui/text/qtextengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qtextengine.cpp b/src/gui/text/qtextengine.cpp index 0dd8442a71..076b6bbde4 100644 --- a/src/gui/text/qtextengine.cpp +++ b/src/gui/text/qtextengine.cpp @@ -1707,7 +1707,7 @@ bool QTextEngine::isRightToLeft() const itemize(); // this places the cursor in the right position depending on the keyboard layout if (layoutData->string.isEmpty()) - return qApp ? qApp->inputMethod()->inputDirection() == Qt::RightToLeft : false; + return QGuiApplication::inputMethod()->inputDirection() == Qt::RightToLeft; return layoutData->string.isRightToLeft(); } |