Skip to content
  • Frank Reininghaus's avatar
    Always determine icons for the visible items first · 52a38ee9
    Frank Reininghaus authored
    When entering a folder, KFileItemModelRolesUpdater has not yet been
    informed about the visible index range by the view when it tries to
    determine icons synchronously. This resulted in the problem that it
    tried to determine icons for all items in random order, and some visible
    icons were somtimes still unknown after the "synchronous icon loading"
    timeout of 200 ms.
    
    This commit tries to improve the situation by loading icons starting
    with the first item in increasing order. This should make it less likely
    that some visible items still have unknown icons after 200 ms.
    
    BUG: 316129
    FIXED-IN: 4.10.3
    REVIEW: 109843
    52a38ee9