Commit 7e07c6f8 authored by Giacomo Strangolino's avatar Giacomo Strangolino
Browse files

database parameters from free prop

parent 47e8da0b
......@@ -341,15 +341,15 @@ void Alarm::queryDB()
switch(ui->comboPeriod->currentIndex()) {
case 0:
dts = dts.addDays(-1);
dte = dts.addDays(1); // somewhere in the future
dte = dte.addDays(1); // somewhere in the future
break;
case 1:
dts = dts.addDays(-7);
dte = dts.addDays(1); // somewhere in the future
dte = dte.addDays(1); // somewhere in the future
break;
case 2:
dts = dts.addMonths(-1);
dte = dts.addDays(1); // somewhere in the future
dte = dte.addDays(1); // somewhere in the future
break;
case 3:
dts.setDate(ui->dateStart->date());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment