Commit df7ab4c6 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Use new variable to prevent shadowing

parent c1b3ea36
Pipeline #173430 passed with stage
in 2 minutes and 13 seconds
......@@ -781,8 +781,8 @@ void Vt102Emulation::processSessionAttributeRequest(int tokenSize)
if (attribute == 104) {
// RGB colors
QStringList params = value.split(QLatin1Char(';'));
for (int i = 0; i < params.length(); i++) {
int c = params[i].toInt();
for (int k = 0; k < params.length(); k++) {
int c = params[k].toInt();
colorTable[c] = QColor();
}
}
......
Supports Markdown
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