diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2021-07-19 12:51:46 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2021-07-22 21:21:12 +0200 |
commit | 08411a3ddfe2a3a392b1520e1283ce12208ebcb9 (patch) | |
tree | 1d3a9b7f9b445076680991dff99d8ccb7dc72919 /tests | |
parent | b5950f6aff9ca646c55e640dd3d67105f56070e1 (diff) |
QTextCharFormat: mark a couple of API mistakes to be fixed in Qt 7
The fontFamilies and fontStyleName have an asymmetric getter and setter.
The setter takes QStringList, but the getter returns QVariant (?), for
no reason whatsoever (the underlying QFont APIs take QStringList,
and the docs say that they should return QStringList).
It's not entirely obvious that we can fix this without introducing
badly-named getters (getX) or somesuch, so for the time being, mark
this to be fixed in Qt 7.
Change-Id: I49706af00906a2c5d950ada4be3cbc76dbee432c
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions