summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-04-20 11:16:57 +0200
committerOrgad Shaneh <orgads@gmail.com>2020-04-21 09:46:14 +0000
commit589e34eb3210d8725d68941dbeb096424dda68df (patch)
tree55cc647f09eddc7abd1e46911b7d487d619fb366 /src/corelib
parentdf234035d0b4c422707a3ad8d893742da6922d10 (diff)
Don't fall back to QGuiApplication for line control's layoutDirection
If the widget whose line control we are has its own locale setting, then we should use that rather than the default UI layout direction. Instead, the client of the QWidgetLineControl needs to handle the case where auto-detection of the text direction can't be done based on the content of the line control. Fortunately, QWidget's handling of text direction handles setting to auto gracefully as unsetting, on which it consults the parent widget to set a sensible default. Change-Id: Id0d247f1e6e7219b6d0ece5856ca93ee87778c74 Pick-to: 5.15 Fixes: QTBUG-53110 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions