• Eike Ziller's avatar
    Plugin view: Fix sorting · 7450a09a
    Eike Ziller authored
    Broke after moving to Utils::TreeModel. Use QSortFilterProxyModel on top
    of TreeModel (can later be used for filtering as well).
    Additionally we need to make sure to report changes only for the changed
    column now, because otherwise QSortFilterProxyModel thinks that the
    change could make re-sorting necessary, and does that in a non-stable
    way.
    
    Change-Id: I9fd12c55a45aba4c05f8e318ae8ea9a4ab9f3310
    Task-number: QTCREATORBUG-14107
    Reviewed-by: default avatarRobert Loehning <robert.loehning@theqtcompany.com>
    Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
    7450a09a
pluginview.cpp 12.7 KB