mainwindow.cc
changeset 15 63c91bd27863
parent 14 3d8176df0461
child 20 2e1610865683
--- a/mainwindow.cc	Tue Jan 24 01:38:43 2012 +0100
+++ b/mainwindow.cc	Tue Jan 24 01:47:33 2012 +0100
@@ -2,6 +2,8 @@
 #include "mainwindow.h"
 #include "ui_mainwindow.h"
 
+using Qt::DefaultLocaleLongDate;
+
 MainWindow::MainWindow(QWidget *parent)
     : QMainWindow(parent), ui(new Ui::MainWindow)
 {
@@ -70,7 +72,7 @@
     t->setItem(r, K, new QTableWidgetItem(tr("Date")));
     t->setItem(r, V, new QTableWidgetItem(igc_
 	.date()
-	.toString(tr("yyyy-MMM-dd (dddd)"))));
+	.toString(DefaultLocaleLongDate)));
     ++r;
 
     t->setRowCount(t->rowCount() + 1);