diff options
Diffstat (limited to 'doc/html/tutorial1-10.html')
| -rw-r--r-- | doc/html/tutorial1-10.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/tutorial1-10.html b/doc/html/tutorial1-10.html index 6296e4617..2e02d9658 100644 --- a/doc/html/tutorial1-10.html +++ b/doc/html/tutorial1-10.html @@ -99,12 +99,12 @@ separate function. if ( ang == degrees ) return; ang = degrees; - <a href="tqwidget.html#repaint">repaint</a>( cannonRect(), FALSE ); + <a href="tqwidget.html#repaint">repaint</a>( cannonRect(), false ); emit angleChanged( ang ); } </pre> <p> We have made a slight change in the setAngle() function. It repaints -only the portion of the widget that contains the cannon. The FALSE +only the portion of the widget that contains the cannon. The false argument indicates that the specified rectangle should not be erased before a paint event is sent to the widget. This speeds up and smooths the drawing a little bit. |
