Improve gathering strips.
We must not ignore one strip of layout result to provide correct size. --HG-- branch : develop
This commit is contained in:
parent
07be09c577
commit
009ac4a0a6
|
@ -427,11 +427,6 @@ bool VLayoutGenerator::IsPortrait() const
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void VLayoutGenerator::GatherPages()
|
void VLayoutGenerator::GatherPages()
|
||||||
{
|
{
|
||||||
if (papers.size() < 2)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
QList<QList<VLayoutPiece>> nDetails;
|
QList<QList<VLayoutPiece>> nDetails;
|
||||||
qreal length = 0;
|
qreal length = 0;
|
||||||
int j = 0; // papers count
|
int j = 0; // papers count
|
||||||
|
|
Loading…
Reference in New Issue
Block a user