comparison src/mainwindow.cpp @ 620:7f1adcdc6cdc

Merge
author Chris Cannam
date Wed, 26 Sep 2012 21:29:48 +0100
parents 4f7ca2d192df 2d5b831c1a0a
children 91b7ad45c608
comparison
equal deleted inserted replaced
619:4f7ca2d192df 620:7f1adcdc6cdc
355 m_runner->requestAction(HgAction(ACT_QUERY_HEADS, m_workFolderPath, params)); 355 m_runner->requestAction(HgAction(ACT_QUERY_HEADS, m_workFolderPath, params));
356 } 356 }
357 357
358 void MainWindow::hgLog() 358 void MainWindow::hgLog()
359 { 359 {
360 QSettings settings;
361 settings.beginGroup("Presentation");
362
360 QStringList params; 363 QStringList params;
361 params << "log"; 364 params << "log";
365 params << "--date";
366 params << settings.value("datefrom", QDate(2000, 1, 1)).toDate().toString("yyyy-MM-dd") + " to " + QDate::currentDate().toString("yyyy-MM-dd");
362 params << "--template"; 367 params << "--template";
363 params << Changeset::getLogTemplate(); 368 params << Changeset::getLogTemplate();
364 369
365 m_runner->requestAction(HgAction(ACT_LOG, m_workFolderPath, params)); 370 m_runner->requestAction(HgAction(ACT_LOG, m_workFolderPath, params));
366 } 371 }