mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
cleanup: fix typos in comments in statistics code
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
4fdbb116ef
commit
f76752ee03
2 changed files with 3 additions and 3 deletions
|
@ -102,7 +102,7 @@ PieSeries::PieSeries(StatsView &view, StatsAxis *xAxis, StatsAxis *yAxis, const
|
|||
for (const auto &[name, dives]: data)
|
||||
totalCount += (int)dives.size();
|
||||
|
||||
// First of all, sort from largest to smalles slice. Instead
|
||||
// First of all, sort from largest to smallest slice. Instead
|
||||
// of sorting the initial array, sort a list of indices, so that
|
||||
// the original order can be easily reconstructed later.
|
||||
std::vector<int> sorted(data.size());
|
||||
|
|
|
@ -41,7 +41,7 @@ static QString join_strings(const std::vector<QString> &v)
|
|||
return res;
|
||||
}
|
||||
|
||||
// A wrapper around dive site, that caches the name of the dive site
|
||||
// A wrapper around dive site that caches the name of the dive site
|
||||
struct DiveSiteWrapper {
|
||||
const dive_site *ds;
|
||||
QString name;
|
||||
|
@ -67,7 +67,7 @@ struct DiveSiteWrapper {
|
|||
}
|
||||
};
|
||||
|
||||
// A wrapper around dive trips, that caches the name and date of the trip and sorts by trip start date
|
||||
// A wrapper around dive trips that caches the name and date of the trip and sorts by trip start date
|
||||
struct TripWrapper {
|
||||
const dive_trip *t;
|
||||
QString name;
|
||||
|
|
Loading…
Reference in a new issue