ReEnabled Graph Snapshots option in preferences

This commit is contained in:
Mark Watkins 2011-09-23 14:20:57 +10:00
parent a8bf17c75b
commit 774d3f3ed3

View File

@ -500,7 +500,7 @@ void Daily::Load(QDate date)
// as it only relates to text drawing, which the Pie chart does not do // as it only relates to text drawing, which the Pie chart does not do
// ^^ Scratch that.. pie now includes text.. // ^^ Scratch that.. pie now includes text..
// if (pref["EnableGraphSnapshots"].toBool()) { // AHI Pie Chart if (pref["EnableGraphSnapshots"].toBool()) { // AHI Pie Chart
if (ahi+rei+fli>0) { if (ahi+rei+fli>0) {
html+="</tr>\n"; //<tr><td colspan=4 align=center><i>"+tr("Event Breakdown")+"</i></td></tr>\n"; html+="</tr>\n"; //<tr><td colspan=4 align=center><i>"+tr("Event Breakdown")+"</i></td></tr>\n";
//G_AHI->setFixedSize(gwwidth,120); //G_AHI->setFixedSize(gwwidth,120);
@ -513,7 +513,7 @@ void Daily::Load(QDate date)
} else { } else {
html += "<tr><td colspan=4 align=center><img src=\"qrc:/docs/0.0.gif\"></td></tr>\n"; html += "<tr><td colspan=4 align=center><img src=\"qrc:/docs/0.0.gif\"></td></tr>\n";
} }
// } }
} }
html+="</table>"; html+="</table>";
html+="<table cellspacing=0 cellpadding=0 border=0 width='100%'>\n"; html+="<table cellspacing=0 cellpadding=0 border=0 width='100%'>\n";