Avoid window freaze.

--HG--
branch : feature
This commit is contained in:
dismine 2015-01-22 16:13:25 +02:00
parent ef73b351ed
commit 2388d8ef29

View File

@ -193,6 +193,8 @@ bool VLayoutPaper::AddToSheet(const VLayoutDetail &detail, bool &stop)
{
for (int i=1; i<= detail.EdgesCount(); i++)
{
QCoreApplication::processEvents();
VPosition *thread = new VPosition(d->globalContour, j, detail, i, &stop, d->rotate, d->rotationIncrease);
//Info for debug
#ifdef LAYOUT_DEBUG