summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qtextstream.cpp
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2015-05-01 08:18:36 +0400
committerKonstantin Ritt <ritt.ks@gmail.com>2015-05-13 01:08:33 +0000
commitc874e10cbcf67fa5fdddafc4dcbf8a54d7f36b2d (patch)
tree6efec2974bc4aea4e11b8cd6758b2eaefd1890f0 /src/corelib/io/qtextstream.cpp
parent994a7476ef6a6c1dce7a4044a7e64fc1b60846f8 (diff)
Simplify QFontDatabase::findFont()
QFontDatabase::load() is the only caller that passes non-null QFontPrivate* to QFontDatabase::findFont(), to adjust the pointSize with regards to the font's dpi; do that right in QFontDatabase::load(). The `multi` param's meaning is, in fact, an absence of the QFont::NoFontMerging flag, so prefer the latter and prevent ambiguity in the future. Change-Id: Icc7751044e454ca438e7627364faa415287bf1ae Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
Diffstat (limited to 'src/corelib/io/qtextstream.cpp')
0 files changed, 0 insertions, 0 deletions