Mercurial > retraceit
comparison src/mainwindow.cpp @ 44:73e6b6b12412
(issue 1,2) Make the column used for the Timestamp value configurable
If the column contains a number it is interpreted as seconds since
epoch. Otherwise its a verbatim copy of the column string.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 06 May 2015 19:45:26 +0200 |
parents | 2836b6ed430a |
children | 07744e276579 |
comparison
equal
deleted
inserted
replaced
43:ee696abaab99 | 44:73e6b6b12412 |
---|---|
165 show(); | 165 show(); |
166 } | 166 } |
167 } | 167 } |
168 | 168 |
169 void MainWindow::showPictureNameStatus(const QString& fileName, int current, | 169 void MainWindow::showPictureNameStatus(const QString& fileName, int current, |
170 int max, const QDateTime& timestamp) { | 170 int max, const QString& timestamp) { |
171 if (current != 0 && max != 0) { | 171 if (current != 0 && max != 0) { |
172 statusBar()->showMessage(tr("Showing: '%1'").arg(fileName)); | 172 statusBar()->showMessage(tr("Showing: '%1'").arg(fileName)); |
173 } | 173 } |
174 } | 174 } |
175 | 175 |