diff options
| author | Axel Spoerl <axel.spoerl@qt.io> | 2023-03-09 17:10:40 +0100 |
|---|---|---|
| committer | Axel Spoerl <axel.spoerl@qt.io> | 2023-03-17 18:06:28 +0100 |
| commit | b04f9388ac1520110915f83f91bee624b1ebef96 (patch) | |
| tree | 12b2d37812131c9e7b3f61bf5e318e10c8fac9ba /tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp | |
| parent | f03fedfaecd7cfacfd80b30e8058cf1d81a360de (diff) | |
QColorDialog: Support hex rgb values with and without leading #
QColorDialog supports entering hex rgb values only with a leading #.
That makes copy/paste impossible whenever the copy source has plain
hex, without the leading #.
This patch automatically adds a leading # character, when missing.
As a drive-by, QObject::connect statements are altered to PTMF syntax,
amending 9eb1b9e86ce3d1004e39e8ab7c7ecb6796d6df1a.
The patch also adds an autotest for the new functionality.
Fixes: QTBUG-111742
Pick-to: 6.5
Change-Id: I4ced29dc8b543457f411a3fa0ac756b550cdb09f
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions
