diff src/mainwindow.cpp @ 620:7f1adcdc6cdc

Merge
author Chris Cannam
date Wed, 26 Sep 2012 21:29:48 +0100
parents 4f7ca2d192df 2d5b831c1a0a
children 91b7ad45c608
line wrap: on
line diff
--- a/src/mainwindow.cpp	Tue Jul 03 20:10:04 2012 +0100
+++ b/src/mainwindow.cpp	Wed Sep 26 21:29:48 2012 +0100
@@ -357,8 +357,13 @@
 
 void MainWindow::hgLog()
 {
+    QSettings settings;
+    settings.beginGroup("Presentation");
+
     QStringList params;
     params << "log";
+    params << "--date";
+    params << settings.value("datefrom", QDate(2000, 1, 1)).toDate().toString("yyyy-MM-dd") + " to " + QDate::currentDate().toString("yyyy-MM-dd");
     params << "--template";
     params << Changeset::getLogTemplate();