Modernization cleanup.

This commit is contained in:
Jim Evins
2017-04-10 22:43:34 -04:00
parent b17cea7ace
commit 4d194f72e9
34 changed files with 110 additions and 109 deletions
+4 -4
View File
@@ -73,7 +73,7 @@ namespace glbarcode
}
QPainter* QtRenderer::painter( void ) const
QPainter* QtRenderer::painter( ) const
{
return d->painter;
}
@@ -97,7 +97,7 @@ namespace glbarcode
}
void QtRenderer::drawEnd( void )
void QtRenderer::drawEnd( )
{
if ( d->painter )
{
@@ -110,10 +110,10 @@ namespace glbarcode
{
if ( d->painter )
{
double x = x + w/2; // Offset line origin by 1/2 line width.
double x1 = x + w/2; // Offset line origin by 1/2 line width.
d->painter->setPen( QPen( d->color, w ) );
d->painter->drawLine( QPointF(x, y), QPointF(x, y+h) );
d->painter->drawLine( QPointF(x1, y), QPointF(x1, y+h) );
}
}