r14520 by jghali - comment out some variables used for debugging
scribus-commit
scribus-commit at lists.scribus.net
Tue Jan 12 23:55:35 CET 2010
Revision: 14520
Author: jghali
Date: 2010-01-12T09:26:12.058393Z
Commit message: comment out some variables used for debugging
Changeset:
M /trunk/Scribus/scribus/canvasmode.cpp
Diffs:
Index: scribus/canvasmode.cpp
===================================================================
--- scribus/canvasmode.cpp (revision 14519)
+++ scribus/canvasmode.cpp (revision 14520)
@@ -178,11 +178,11 @@
void CanvasMode::drawSelection(QPainter* psx, bool drawHandles)
{
- QTime t;
- t.start();
- QTime tt;
- int tg(0);
- QStringList tu;
+// QTime t;
+// t.start();
+// QTime tt;
+// int tg(0);
+// QStringList tu;
QString ds;
psx->scale(m_canvas->scale(), m_canvas->scale());
psx->translate(-m_doc->minCanvasCoordinate.x(), -m_doc->minCanvasCoordinate.y());
@@ -214,7 +214,7 @@
x = -lineAdjust;
y = -lineAdjust;
- tt.start();
+// tt.start();
psx->drawRect(QRectF(x, y, w, h));
if(drawHandles)
{
@@ -229,7 +229,7 @@
psx->drawRect(QRectF(x, y+h/2 - halfMarkWidth, markWidth, markWidth));
psx->drawRect(QRectF(x, y+h-markWidth, markWidth, markWidth));
}
- tg=tt.elapsed();
+// tg=tt.elapsed();
psx->restore();
// items inside a a multi
@@ -316,9 +316,9 @@
y = currItem->asLine() ? 0 : -lineAdjust;
}
- tt.start();
+// tt.start();
psx->drawRect(QRectF(x, y, w, h));
- tu << QString::number(tt.elapsed());
+// tu << QString::number(tt.elapsed());
if(drawHandles && !currItem->locked())
{
psx->setBrush(m_brush["handle"]);
More information about the scribus-commit
mailing list