summaryrefslogtreecommitdiffstats
path: root/src/printsupport/dialogs/qprintdialog_unix.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-03-15 12:27:00 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-03-16 13:12:50 +0000
commitde9a97a47a35e4fed4f7bdcb69f8b5534fb9b3a2 (patch)
tree0ecd2df2efc4b76b1521b9aae3362f95f5b99559 /src/printsupport/dialogs/qprintdialog_unix.cpp
parentc8991d2986c37c04d1359c3c19d1600c1d408fa3 (diff)
Include minus sign in ImhFormattedNumbersOnly's available keys
UIKeyboardTypeDecimalPad only provides digits and decimal point, no minus sign, but ImhFormattedNumbersOnly is documented to provide a minus sign as well. UIKeyboardTypeNumbersAndPunctuation includes punctuation, which should cover signs as well as decimal separator, so use that - same as for ImhPreferNumbers. A little more permissive than we want here, but that's better than more restrictive ! Fixes: QTBUG-91455 Change-Id: I0418946014e0a66d503e61704154fd7798a0b785 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit 17bf553b76ebd688e58e4de4271407e2058d89ef) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/printsupport/dialogs/qprintdialog_unix.cpp')
0 files changed, 0 insertions, 0 deletions