bport added a comment.

  According to settings.h documentation
  When invalid or in the past, do not disturb mode should be considered 
disabled.
  
  So why not setting date to invalid date or one year in the past and do a test 
if date is in the future

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D28740

To: broulik, #plasma
Cc: bport, pino, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, 
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart

Reply via email to