From 13c418eadd33bbbeb91146c0d3e3008fc1bcfe59 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Mon, 15 Sep 2014 12:31:25 -0400 Subject: Update the Lumina user button a bit: 1) Add a new "All" category that is shown by default for listing applications. 2) Speed up the time to open the user menu by only reloading if more than 30 seconds have passed since the previous time it was opened. --- lumina-desktop/panel-plugins/userbutton/UserWidget.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lumina-desktop/panel-plugins/userbutton/UserWidget.h') diff --git a/lumina-desktop/panel-plugins/userbutton/UserWidget.h b/lumina-desktop/panel-plugins/userbutton/UserWidget.h index b9eaffbe..0b42bff8 100644 --- a/lumina-desktop/panel-plugins/userbutton/UserWidget.h +++ b/lumina-desktop/panel-plugins/userbutton/UserWidget.h @@ -15,6 +15,7 @@ #include #include #include +#include #include #include @@ -40,6 +41,7 @@ public: private: Ui::UserWidget *ui; QHash > *sysapps; + QDateTime lastUpdate; int cfav; //current favorite category void ClearScrollArea(QScrollArea *area); -- cgit