summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io/qsettings/tst_qsettings.cpp
diff options
context:
space:
mode:
authorSze Howe Koh <szehowe.koh@gmail.com>2023-06-04 23:01:04 +0800
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2023-06-07 16:46:56 +0000
commit5a2474b2dd0472948c53b16c4bf566db489dcfb9 (patch)
treeb24ab31a466ac2eef182e46a8cd8b228bce405db /tests/auto/corelib/io/qsettings/tst_qsettings.cpp
parent526744ba6536175f9a19ffdf6ff1ee068f9522a4 (diff)
Doc: Clarify how to use QPainter with QTextEdit
The documentation suggests that it is possible to reimplement QTextEdit::paintEvent(), but doing so might produce cryptic runtime warnings: QWidget::paintEngine: Should no longer be called QPainter::begin: Paint device returned engine == 0, type: 1 The correct way to reimplement this function is noted under QAbstractScrollArea::paintEvent(). This patch updates the note and copies it to QTextEdit for clarity. Pick-to: 6.6 6.5 6.2 Change-Id: Ib7d8dadeb2358475bcdb0b2e624857700f9a004e Reviewed-by: Safiyyah Moosa <safiyyah.moosa@qt.io> Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/corelib/io/qsettings/tst_qsettings.cpp')
0 files changed, 0 insertions, 0 deletions