[qet] [2593] fixed syntax error, since revision 2585

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 2593
Author:   cfdev
Date:     2013-11-05 18:11:01 +0100 (Tue, 05 Nov 2013)
Log Message:
-----------
fixed syntax error, since revision 2585

Modified Paths:
--------------
    trunk/sources/diagramview.cpp
    trunk/sources/diagramview.h

Modified: trunk/sources/diagramview.cpp
===================================================================
--- trunk/sources/diagramview.cpp	2013-10-29 16:30:53 UTC (rev 2592)
+++ trunk/sources/diagramview.cpp	2013-11-05 17:11:01 UTC (rev 2593)
@@ -1327,7 +1327,7 @@
 	@param pos Position du champ de texte ajoute
 	@return le champ de texte ajoute
 */
-IndependentTextItem *DiagramView::addDiagramTextAtPos(const QPointF &pos, const QString text) {
+IndependentTextItem *DiagramView::addDiagramTextAtPos(const QPointF &pos, const QString &text) {
 	if (!isInteractive() || scene -> isReadOnly()) return(0);
 	
 	// cree un nouveau champ de texte

Modified: trunk/sources/diagramview.h
===================================================================
--- trunk/sources/diagramview.h	2013-10-29 16:30:53 UTC (rev 2592)
+++ trunk/sources/diagramview.h	2013-11-05 17:11:01 UTC (rev 2593)
@@ -76,7 +76,7 @@
 	void editText();
 	void addImage();
 	void editImage();
-	IndependentTextItem *addDiagramTextAtPos(const QPointF &, const QString text = 0);
+	IndependentTextItem *addDiagramTextAtPos(const QPointF &, const QString &text = 0);
 	DiagramImageItem *addDiagramImageAtPos(const QPointF &);
 	
 	protected:


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/