mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
Fixed bug, some values not considered
This commit is contained in:
committed by
Mat Sutcliffe
parent
48b18c7acd
commit
b6844e4a44
@@ -23,10 +23,11 @@ namespace BlackMisc
|
||||
html += QStringLiteral("<tr>");
|
||||
for (int c = 0; c < columns; c++)
|
||||
{
|
||||
html += (i < size) ?
|
||||
const bool stillElements = (i < size);
|
||||
html += stillElements ?
|
||||
u"<td>" % values.at(i) % u"</td>" :
|
||||
QStringLiteral("<td></td>");
|
||||
i++;
|
||||
if (c + 1 < columns) i++;
|
||||
}
|
||||
html += QStringLiteral("</tr>");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user