From b783c03d19d892c5e92c859ff0265061106cfa77 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Mon, 10 Jul 2017 16:34:15 +0200 Subject: Doc: fix paintEvent() function casing Change-Id: I66ef1c25259499147100413753fdc80b01dc49f6 Reviewed-by: J-P Nurmi --- src/widgets/kernel/qwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp index 6440ed0173..79b4d67fdc 100644 --- a/src/widgets/kernel/qwidget.cpp +++ b/src/widgets/kernel/qwidget.cpp @@ -9664,7 +9664,7 @@ void QWidget::leaveEvent(QEvent *) \note Generally, you should refrain from calling update() or repaint() \b{inside} a paintEvent(). For example, calling update() or repaint() on - children inside a paintevent() results in undefined behavior; the child may + children inside a paintEvent() results in undefined behavior; the child may or may not get a paint event. \warning If you are using a custom paint engine without Qt's backingstore, -- cgit v1.2.3