[qet] [2730] Add sorting the list of report folio

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


Revision: 2730
Author:   scorpio810
Date:     2014-01-10 18:56:52 +0100 (Fri, 10 Jan 2014)
Log Message:
-----------
Add sorting the list of report folio

Modified Paths:
--------------
    trunk/sources/ui/folioreportproperties.cpp

Modified: trunk/sources/ui/folioreportproperties.cpp
===================================================================
--- trunk/sources/ui/folioreportproperties.cpp	2014-01-09 20:36:31 UTC (rev 2729)
+++ trunk/sources/ui/folioreportproperties.cpp	2014-01-10 17:56:52 UTC (rev 2730)
@@ -45,7 +45,8 @@
 	int rep = element_->linkType() == Element::NextReport? Element::PreviousReport : Element::NextReport;
 	ElementProvider ep(element_->diagram()->project(), element_->diagram());
 	QList <Element *> elmt_list = ep.freeElement(rep);
-
+	qSort(elmt_list);
+	qDebug() <<elmt_list;
 	foreach (Element *elmt, elmt_list) {
 		if (elmt != element_) {
 			//label for the button


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