mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
List last month, not year for TrainingPeaks.com
By default the TrainingPeaks.com download dialog will fetch the last year of ride files. This can take a long time for some users. We now only ask for the last month by default. Fixes #561.
This commit is contained in:
@@ -98,7 +98,7 @@ TPDownloadDialog::completedAthlete(QList<QMap<QString, QString> >athletes)
|
||||
QLabel *toLabel = new QLabel(tr("To:"), this);
|
||||
|
||||
from = new QDateEdit(this);
|
||||
from->setDate(QDate::currentDate().addYears(-1));
|
||||
from->setDate(QDate::currentDate().addMonths(-1));
|
||||
from->setCalendarPopup(true);
|
||||
to = new QDateEdit(this);
|
||||
to->setDate(QDate::currentDate());
|
||||
|
||||
Reference in New Issue
Block a user