Skip to content
  • Frank Reininghaus's avatar
    Fix slow scrolling when hidden files or symbolic links are shown · fd5ba3b4
    Frank Reininghaus authored
    The problem was that we drawed the overlays using KIconLoader, which can
    be very slow, every time an item appeared on the screen. This commit
    makes sure that not only the icon, but the icon including overlays is
    cached in QPixmapCache. Therefore, the overlay drawing is done just once
    for each icon+overlays combination.
    
    For previews, the overlay drawing is done in KFileItemModelRolesUpdater
    just after the preview is received.
    
    BUG: 310662
    BUG: 314339
    FIXED-IN: 4.11.1
    REVIEW: 111956
    fd5ba3b4