Remove parameter that does nothing

This commit is contained in:
Rodrigo Torres 2017-09-10 01:03:32 -03:00
parent 34192da524
commit f5f3f246f0
3 changed files with 3 additions and 3 deletions

View File

@ -300,7 +300,7 @@ namespace Zint {
return result;
}
void QZint::render(QPainter & painter, const QRectF & paintRect, AspectRatioMode mode) {
void QZint::render(QPainter & painter, const QRectF & paintRect) {
bool textdone;
int comp_offset = 0;
int xoffset = m_whitespace;

View File

@ -86,7 +86,7 @@ public:
QString error_message();
void render(QPainter & painter, const QRectF & paintRect, AspectRatioMode mode=IgnoreAspectRatio);
void render(QPainter & painter, const QRectF & paintRect);
const QString & lastError();
bool hasErrors();

View File

@ -99,7 +99,7 @@ void BarcodeItem::paint(QPainter *ppainter, const QStyleOptionGraphicsItem *opti
break;
}
bc.render(*ppainter,bcRect,Zint::QZint::KeepAspectRatio);
bc.render(*ppainter,bcRect);
ppainter->restore();
ItemDesignIntf::paint(ppainter,option,widget);
}