Fix: GetDurationForPrice return proper value not only '0'

This commit is contained in:
2023-11-23 15:06:57 +01:00
parent 8f2609c4ae
commit 7ee90a9e8a
2 changed files with 14 additions and 10 deletions

View File

@@ -43,9 +43,6 @@ private:
// For tariff of following structure: only steps, no special days, nonstop.
uint32_t GetCostFromDuration(Configuration *cfg, QDateTime const &start, quint64 durationMinutes) const;
uint32_t GetCostFromDuration(Configuration *cfg, QDateTime const &start, QDateTime const &end) const;
//
uint32_t GetPriceForTimeStep(Configuration *cfg, int timeStep) const;
uint32_t GetDurationForPrice(Configuration *cfg, int price) const;
};