mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
from Justin: nits
This commit is contained in:
@@ -341,3 +341,15 @@ void Zones::setStartDate(int rnum, QDate startDate)
|
||||
{
|
||||
ranges[rnum]->begin = startDate;
|
||||
}
|
||||
|
||||
QDate Zones::getStartDate(int rnum)
|
||||
{
|
||||
return ranges[rnum]->begin;
|
||||
}
|
||||
|
||||
QDate Zones::getEndDate(int rnum)
|
||||
{
|
||||
return ranges[rnum]->end;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -47,7 +47,6 @@ class Zones : public QObject
|
||||
}
|
||||
};
|
||||
|
||||
QList<ZoneRange*> ranges;
|
||||
QString err;
|
||||
|
||||
public:
|
||||
@@ -79,6 +78,8 @@ class Zones : public QObject
|
||||
QDate getEndDate(int rnum);
|
||||
void setEndDate(int rnum, QDate date);
|
||||
void setStartDate(int rnum, QDate date);
|
||||
QList<ZoneRange*> ranges;
|
||||
|
||||
};
|
||||
|
||||
#endif // _Zones_h
|
||||
|
||||
Reference in New Issue
Block a user