[qet] [2088] fix some warning messages at compilation

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


Revision: 2088
Author:   blacksun
Date:     2013-04-05 18:03:05 +0200 (Fri, 05 Apr 2013)
Log Message:
-----------
fix some warning messages at compilation

Modified Paths:
--------------
    trunk/sources/conductorautonumerotation.cpp
    trunk/sources/conductorautonumerotationwidget.cpp
    trunk/sources/conductorautonumerotationwidget.h

Modified: trunk/sources/conductorautonumerotation.cpp
===================================================================
--- trunk/sources/conductorautonumerotation.cpp	2013-04-04 16:57:15 UTC (rev 2087)
+++ trunk/sources/conductorautonumerotation.cpp	2013-04-05 16:03:05 UTC (rev 2088)
@@ -21,8 +21,8 @@
 ConductorAutoNumerotation::ConductorAutoNumerotation(Conductor *c) :
 	conductor_ (c),
 	diagram_ (c -> diagram()),
-	strategy_(0),
-	conductor_list(c -> relatedPotentialConductors())
+	conductor_list(c -> relatedPotentialConductors()),
+	strategy_(0)
 {}
 
 /**

Modified: trunk/sources/conductorautonumerotationwidget.cpp
===================================================================
--- trunk/sources/conductorautonumerotationwidget.cpp	2013-04-04 16:57:15 UTC (rev 2087)
+++ trunk/sources/conductorautonumerotationwidget.cpp	2013-04-05 16:03:05 UTC (rev 2088)
@@ -4,9 +4,9 @@
 #include "diagram.h"
 
 ConductorAutoNumerotationWidget::ConductorAutoNumerotationWidget(Conductor *c, QSet<Conductor *> cl, QWidget *parent) :
+	QDialog (parent),
 	conductor_(c),
-	c_list(cl),
-	QDialog (parent)
+	c_list(cl)
 {
 #ifdef Q_WS_MAC
 	setWindowFlags(Qt::Sheet);

Modified: trunk/sources/conductorautonumerotationwidget.h
===================================================================
--- trunk/sources/conductorautonumerotationwidget.h	2013-04-04 16:57:15 UTC (rev 2087)
+++ trunk/sources/conductorautonumerotationwidget.h	2013-04-05 16:03:05 UTC (rev 2088)
@@ -26,8 +26,8 @@
 	void applyText();
 
 	//attributes
+	Conductor *conductor_;
 	QSet<Conductor *> c_list; //liste des conducteurs au même potentiel
-	Conductor *conductor_;
 	QList <QRadioButton *> *radio_List;
 	QLineEdit *text_field;
 	QString text_;


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