|
@@ -144,7 +144,6 @@
|
144
|
144
|
output.writeAttribute("y2", "450");
|
145
|
145
|
output.writeAttribute("style", "stroke:rgb(0,0,0);stroke-width:1;");
|
146
|
146
|
output.writeEndElement();
|
147
|
|
- var query = new QSqlQuery();
|
148
|
147
|
var q = "SELECT "+curEndDate+"::date - "+curStartDate+"::date";
|
149
|
148
|
query.exec(q);
|
150
|
149
|
query.next();
|
|
@@ -425,6 +424,7 @@
|
425
|
424
|
i = days - 1;
|
426
|
425
|
}
|
427
|
426
|
}
|
|
427
|
+ query = query.invalidate();
|
428
|
428
|
output.writeStartElement("rect");
|
429
|
429
|
output.writeAttribute("fill", "rgb(0,0,0)");
|
430
|
430
|
output.writeAttribute("x", "45");
|