https://bugs.kde.org/show_bug.cgi?id=464870
--- Comment #8 from Thomas Baumgart <tbaumg...@kde.org> --- I would not want to check that before every loop but in a central spot. If start is -7 and end is -1 then the for loop still gets executed because -7 is less than -1. The crash happens on this line symbol = m_file->m_model->item(row, symbolCol)->text().trimmed(); and with row being negative, m_file->m_model->item() will definitely return a null pointer. OTOH, it could be that the item does not even exist. In this case, item() also returns a null pointer according to the Qt docs. -- You are receiving this mail because: You are watching all bug changes.