Update disk space info on refresh
ClosedPublic

Authored by broulik on Sep 14 2018, 2:07 PM.

Details

Summary

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

Test Plan

Hit F5, had it refresh the info right away

Diff Detail

Repository
R318 Dolphin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Sep 14 2018, 2:07 PM
Restricted Application added a project: Dolphin. · View Herald TranscriptSep 14 2018, 2:07 PM
Restricted Application added a subscriber: kfm-devel. · View Herald Transcript
broulik requested review of this revision.Sep 14 2018, 2:07 PM
ngraham accepted this revision.Sep 15 2018, 2:07 AM
This revision is now accepted and ready to land.Sep 15 2018, 2:07 AM
src/statusbar/spaceinfoobserver.h
43

update() is a public slot in MountPointObserver. I'd make it a slot also here, for consistency (even though we are not using as such yet).

broulik updated this revision to Diff 41807.Sep 17 2018, 9:42 AM
  • Make SpaceInfoObserver::update a slot
This revision was automatically updated to reflect the committed changes.