TuiNodeColor.cpp   TuiNodeColor.cpp 
skipping to change at line 99 skipping to change at line 99
QString blue = QString("%1").arg(value[2], 2, 'f', 2); QString blue = QString("%1").arg(value[2], 2, 'f', 2);
const char* formatString; const char* formatString;
if (!editing) if (!editing)
{ {
formatString = ": RGB %1,%2,%3"; formatString = ": RGB %1,%2,%3";
} }
else else
{ {
switch (editingPart) switch (editingPart)
{ {
case 0: case 0:
formatString = ": RGB >%1<,%2,%3"; formatString = ": RGB >%1<,%2,%3";
break; break;
case 1: case 1:
formatString = ": RGB %1,>%2<,%3"; formatString = ": RGB %1,>%2<,%3";
break; break;
case 2: case 2:
formatString = ": RGB %1,%2,>%3<"; formatString = ": RGB %1,%2,>%3<";
break; break;
default: default:
return QString(q_("error, unknown color part \"%1\"" return QString(q_("error, unknown color part
)).arg(editingPart); \"%1\"")).arg(editingPart);
} }
} }
QString stringValue = QString(formatString).arg(red, green, blue); QString stringValue = QString(formatString).arg(red, green, blue);
return prefixText + q_(displayText) + stringValue; return prefixText + q_(displayText) + stringValue;
} }
void TuiNodeColor::incPart(int part, bool add) void TuiNodeColor::incPart(int part, bool add)
{ {
float diff = 0.01; float diff = 0.01;
 End of changes. 1 change blocks. 
12 lines changed or deleted 12 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/