r14519 by jghali - comment out some variables used for debugging

scribus-commit scribus-commit at lists.scribus.net
Tue Jan 12 23:55:19 CET 2010


Revision: 14519
Author: jghali
Date: 2010-01-12T09:25:32.855407Z
Commit message: comment out some variables used for debugging

Changeset: 
M  /branches/Version135/Scribus/scribus/canvasmode.cpp

Diffs:
Index: scribus/canvasmode.cpp
===================================================================
--- scribus/canvasmode.cpp	(revision 14518)
+++ scribus/canvasmode.cpp	(revision 14519)
@@ -163,11 +163,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());
@@ -200,7 +200,7 @@
 		x = -lineAdjust;
 		y = -lineAdjust;
 
-		tt.start();
+//		tt.start();
 		psx->drawRect(QRectF(x, y, w, h));
 		if(drawHandles)
 		{
@@ -215,7 +215,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
@@ -302,9 +302,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