kcm_energyinfo: Allow changing of the timespan if no data available

Authored by fvogt on Mar 26 2018, 11:30 AM.

Description

kcm_energyinfo: Allow changing of the timespan if no data available

Summary:
Without this, it's only possible to change the timespan if data is available.
Which means that if there is not data available for i.e. the last 24 hours,
you can't switch back to a longer span.

Test Plan: I can change to a timespan with data.

Reviewers: Plasma, broulik

Reviewed By: Plasma, broulik

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D11712