From 391006130e31b80ecc55343f44bddaf06951c90f Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Wed, 19 Sep 2018 10:20:14 +0200 Subject: Update disk space info on refresh When explicitly refreshing the view (e.g. F5) also refresh disk space info. This would also allow us to raise the refresh interval somewhat. CCBUG: 398612 Differential Revision: https://phabricator.kde.org/D15508 --- src/statusbar/statusbarspaceinfo.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/statusbar/statusbarspaceinfo.h') diff --git a/src/statusbar/statusbarspaceinfo.h b/src/statusbar/statusbarspaceinfo.h index 4f36517ae..24f8b7f29 100644 --- a/src/statusbar/statusbarspaceinfo.h +++ b/src/statusbar/statusbarspaceinfo.h @@ -45,6 +45,8 @@ public: void setUrl(const QUrl& url); QUrl url() const; + void update(); + protected: void showEvent(QShowEvent* event) override; void hideEvent(QHideEvent* event) override; -- cgit v1.3