summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qringbuffer.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2021-12-17 14:45:33 +0100
committerLars Knoll <lars.knoll@qt.io>2022-01-03 09:00:04 +0100
commitce14b6c2d3463f73d2e266af2dd97b942f2af109 (patch)
tree4a31280329d313c2e631c71cf70172f7145e4952 /src/corelib/tools/qringbuffer.cpp
parent68c4669ce49aad21beff0e8ef0122a86d53b12e2 (diff)
Avoid crash on app startup if the default font family is empty
Don't call first() on a potentially empty list of families. Fixes a crash on startup on QNX for me. Change-Id: I551d21dac8cfd104b774d6442bdbe1db35f8b75c Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib/tools/qringbuffer.cpp')
0 files changed, 0 insertions, 0 deletions