[qet] [3308] Diagramfoliolist change date format to Qt::SystemLocaleShortDate

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


Revision: 3308
Author:   scorpio810
Date:     2014-09-06 01:38:14 +0200 (Sat, 06 Sep 2014)
Log Message:
-----------
Diagramfoliolist change date format to Qt::SystemLocaleShortDate

Modified Paths:
--------------
    trunk/sources/diagramfoliolist.cpp

Modified: trunk/sources/diagramfoliolist.cpp
===================================================================
--- trunk/sources/diagramfoliolist.cpp	2014-09-05 14:22:55 UTC (rev 3307)
+++ trunk/sources/diagramfoliolist.cpp	2014-09-05 23:38:14 UTC (rev 3308)
@@ -96,7 +96,7 @@
 		fillRow(p, row_rect, diagram_list[i] -> border_and_titleblock.author(),
 				diagram_list[i] -> title(),
 				QString::number(diagram_list[i] ->folioIndex()+1),
-				diagram_list[i] -> border_and_titleblock.date().toString("dd/MM/yyyy"));
+				diagram_list[i] -> border_and_titleblock.date().toString(Qt::SystemLocaleShortDate));
 	}
 
 	x0 = list_rectangles_[1] -> topLeft().x();
@@ -113,7 +113,7 @@
 		fillRow(p, row_rect, diagram_list[i] -> border_and_titleblock.author(),
 				diagram_list[i] -> title(),
 				QString::number(diagram_list[i] ->folioIndex()+1),
-				diagram_list[i] -> border_and_titleblock.date().toString("dd/MM/yyyy"));
+				diagram_list[i] -> border_and_titleblock.date().toString(Qt::SystemLocaleShortDate));
 	}
 
 	border_and_titleblock.draw(p, margin, margin);


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