fix crash on cell insert with Qt5