mirror of
https://github.com/fralx/LimeReport.git
synced 2025-09-23 08:29:07 +03:00
Remove parameter that does nothing
This commit is contained in:
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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user