forked from quickshell/quickshell
service/tray: provide default sorting for SystemTray.items
Items are first sorted by category, and then by name.
This commit is contained in:
parent
392f56c40e
commit
69430e3873
3 changed files with 30 additions and 2 deletions
|
|
@ -31,5 +31,8 @@ private slots:
|
|||
void onItemUnregistered(qs::service::sni::StatusNotifierItem* item);
|
||||
|
||||
private:
|
||||
static bool
|
||||
compareItems(qs::service::sni::StatusNotifierItem* a, qs::service::sni::StatusNotifierItem* b);
|
||||
|
||||
ObjectModel<qs::service::sni::StatusNotifierItem> mItems {this};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue