Mercurial > hg > easyhg
diff src/mainwindow.cpp @ 617:2d5b831c1a0a
Added new functionality to limit the total number of items shown in the graph. For projects with a fairly high number of commits, makes every action is very slow.
Was added to the settings dialog to select a QDateEdit day from which the log is to be displayed.
author | Mikel <mikel.fernandez@bqreaders.com> |
---|---|
date | Tue, 24 Jul 2012 15:33:02 +0200 |
parents | 864cf6bc6eff |
children | 7f1adcdc6cdc 38c84c66ad7a |
line wrap: on
line diff
--- a/src/mainwindow.cpp Wed Jul 04 16:15:15 2012 +0100 +++ b/src/mainwindow.cpp Tue Jul 24 15:33:02 2012 +0200 @@ -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();