• Christian Muehlhaeuser's avatar
    Ensure stable sort order when sorting by size · baaf0c29
    Christian Muehlhaeuser authored
    Folders with equal size caused the sort operation to become unstable,
    as the result of lessThan was non-deterministic.
    
    We need the fallback mechanisms at the bottom of the function to
    resovle the situation and provide a stable sort order.
    
    This also fixes expanding the contents of a folder into the wrong
    parent.
    
    BUG: 433247
    FIXED-IN: 21.08
    baaf0c29
kfileitemmodel.cpp 94.4 KB