Skip to content
  1. Jan 05, 2017
  2. Jan 04, 2017
  3. Jan 03, 2017
  4. Jan 02, 2017
  5. Jan 01, 2017
  6. Dec 30, 2016
  7. Dec 25, 2016
  8. Dec 24, 2016
  9. Dec 23, 2016
  10. Dec 22, 2016
  11. Dec 21, 2016
  12. Dec 20, 2016
  13. Dec 19, 2016
  14. Dec 18, 2016
  15. Dec 17, 2016
  16. Dec 16, 2016
  17. Dec 15, 2016
  18. Dec 14, 2016
    • Olivier Goffart's avatar
      FolderStatusModel: Fix insert/remove items when there are labels · 775a1c9a
      Olivier Goffart authored
      Otherwise it might happen that the model is inconsistant and this can
      lead to crash in the worst case.
      
      (For example, if there was a "fetching" label, and we hide it because it
      was a 404. In this case, we would not call begin/endRemoveRows, so the
      view could still call the model with an index of row 0, that used to be
      for the label, but now correspond to the first element of _subs. And
      because _subs is empty, this could lead to crashes)
      775a1c9a