mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 18:50:44 +00:00
fix gSessionTimesChart segfault
This commit is contained in:
parent
83a6038a70
commit
289c19d8c9
@ -844,7 +844,8 @@ void gSessionTimesChart::paint(QPainter &painter, gGraph &graph, const QRegion &
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
peak_value = 0;
|
||||
min_value = 999;
|
||||
for (int i=idx; i <= idx_end; ++i, ++it2) {
|
||||
QMap<QDate, int>::iterator it_end = dayindex.end();
|
||||
for (int i=idx; (i <= idx_end) && (it2 != it_end); ++i, ++it2) {
|
||||
Day * day = daylist.at(i);
|
||||
|
||||
if (!day)
|
||||
|
Loading…
Reference in New Issue
Block a user