It looks to me as if we should keep the removed code and instead use presetIndex in place of m_storage on the last line.