0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-24 00:33:02 +03:00

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; return result;
} }
void QZint::render(QPainter & painter, const QRectF & paintRect, AspectRatioMode mode) { void QZint::render(QPainter & painter, const QRectF & paintRect) {
bool textdone; bool textdone;
int comp_offset = 0; int comp_offset = 0;
int xoffset = m_whitespace; int xoffset = m_whitespace;

View File

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

View File

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