Remove useless assignment to variable "date".
--HG-- branch : develop
This commit is contained in:
parent
67d69781f3
commit
703a26a5cf
|
@ -115,11 +115,6 @@ VLayoutPiece VLayoutPiece::Create(const VPiece &piece, const VContainer *pattern
|
||||||
if (geom.IsVisible() == true)
|
if (geom.IsVisible() == true)
|
||||||
{
|
{
|
||||||
VAbstractPattern* pDoc = qApp->getCurrentDocument();
|
VAbstractPattern* pDoc = qApp->getCurrentDocument();
|
||||||
QDate date;
|
|
||||||
if (pDoc->IsDateVisible() == true)
|
|
||||||
{
|
|
||||||
date = QDate::currentDate();
|
|
||||||
}
|
|
||||||
det.SetPatternInfo(pDoc, geom, qApp->font(), pattern->size(), pattern->height());
|
det.SetPatternInfo(pDoc, geom, qApp->font(), pattern->size(), pattern->height());
|
||||||
}
|
}
|
||||||
const VGrainlineGeometry& grainlineGeom = piece.GetGrainlineGeometry();
|
const VGrainlineGeometry& grainlineGeom = piece.GetGrainlineGeometry();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user