diff -r 3d8176df0461 -r 63c91bd27863 mainwindow.cc --- 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);