diff options
-rw-r--r-- | doc/src/frameworks-technologies/eventsandfilters.qdoc | 2 | ||||
-rw-r--r-- | src/declarative/fx/qfxpainteditem.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/frameworks-technologies/eventsandfilters.qdoc b/doc/src/frameworks-technologies/eventsandfilters.qdoc index c769884..52d596a 100644 --- a/doc/src/frameworks-technologies/eventsandfilters.qdoc +++ b/doc/src/frameworks-technologies/eventsandfilters.qdoc @@ -215,7 +215,7 @@ \l{QCoreApplication::}{postEvent()} posts the event on a queue for later dispatch. The next time Qt's main event loop runs, it dispatches all posted events, with some optimization. For example, if there are - several resize events, they are are compressed into one. The same + several resize events, they are compressed into one. The same applies to paint events: QWidget::update() calls \l{QCoreApplication::}{postEvent()}, which eliminates flickering and increases speed by avoiding multiple repaints. diff --git a/src/declarative/fx/qfxpainteditem.cpp b/src/declarative/fx/qfxpainteditem.cpp index ac3de5e..05fcc93 100644 --- a/src/declarative/fx/qfxpainteditem.cpp +++ b/src/declarative/fx/qfxpainteditem.cpp @@ -58,7 +58,7 @@ QT_BEGIN_NAMESPACE \ingroup group_coreitems This is a convenience class for implementing items that paint their contents - using a QPainter. The contents of the item are are cached behind the scenes. + using a QPainter. The contents of the item are cached behind the scenes. The dirtyCache() function should be called if the contents change to ensure the cache is refreshed the next time painting occurs. |