Skip to content

Add check for empty QList before accessing it.

Anjani Kumar requested to merge anjani/kweather:fix_sigabrt into master

I got SIGABRT on void NMISunriseAPI::setData(QList<AbstractSunrise> sunrise). Turned out that sunrise was empty and had no checks before accessing.

Merge request reports