';
for (int i = 0; i < nbCols; ++i) {
QTableWidgetItem* item = ui.kTable->item(j, i);
if (item != nullptr) {
bool red = (item->data(DATA_VALUE).toDouble() < 0);
html += QStringLiteral("") % (red ? "" : "");
if ((item->flags()&Qt::ItemIsSelectable) != 0u) {
- html += "";
+ html += "";
}
html += item->text();
if ((item->flags()&Qt::ItemIsSelectable) != 0u) {
html += QStringLiteral("");
}
html += QString(red ? QStringLiteral("") : QString()) % " | ";
} else {
auto* colorButton = qobject_cast(ui.kTable->cellWidget(j, i));
if (colorButton != nullptr) {
html += "" % colorButton->text() % " | ";
}
}
}
html += QStringLiteral("
");
}
html += QStringLiteral("