klipper: Don't use `beginInsertRows` every time adding a new item when loading history
Currently, every time adding a new item, `beginInsertRows` and `endInsertRows` are called, which is not efficient. Use `beginResetModel` and `endResetModel` before and after loading history items to avoid frequently emitting inserted signals. CCBUG: 450989
parent
a0040bdb
Loading
Loading
Pipeline
#157193
passed
with stage
in
5 minutes and 35 seconds
Loading
Please register or sign in to comment