From 11716938f383ec8167a819c9a7cff53b8c8ce9bb Mon Sep 17 00:00:00 2001 From: Anselme Date: Tue, 25 Aug 2015 13:30:18 +0200 Subject: [PATCH] little fix --- app/todomodule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/todomodule.cpp b/app/todomodule.cpp index 2980af0..f9e90f7 100644 --- a/app/todomodule.cpp +++ b/app/todomodule.cpp @@ -94,7 +94,7 @@ bool TodoModule::messageHandler(Message msg) if(splitter[deltaIndex].compare("every") == 0) { answer = usage(DURATION); - dateSplitter = dateString.split(':'); + dateSplitter = splitter[deltaIndex+1].split(':'); int hours = dateSplitter[0].toUInt(&ok); int minutes = 0; int seconds = 0;