Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 16509 → Rev 16511

/trunk/Scribus/scribus/canvasmode_create.cpp
81,9 → 81,10
 
if (createObjectMode != modeDrawLine)
{
QRectF bounds = QRectF(topLeft, btRight).normalized();
QRect localRect = m_canvas->canvasToLocal(bounds);
 
QRectF bounds = QRectF(topLeft, btRight).normalized();
QRect localRect = m_canvas->canvasToLocal(bounds);
if (localRect.width() <= 0 || localRect.height() <= 0)
return;
p->setRenderHint(QPainter::Antialiasing);
 
p->save();