mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-23 20:22:58 +03:00
Remove parameter that does nothing
This commit is contained in:
parent
34192da524
commit
f5f3f246f0
2
3rdparty/zint-2.6.1/backend_qt/qzint.cpp
vendored
2
3rdparty/zint-2.6.1/backend_qt/qzint.cpp
vendored
@ -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;
|
||||||
|
2
3rdparty/zint-2.6.1/backend_qt/qzint.h
vendored
2
3rdparty/zint-2.6.1/backend_qt/qzint.h
vendored
@ -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();
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user