TuiNodeDateTime.cpp   TuiNodeDateTime.cpp 
skipping to change at line 139 skipping to change at line 139
else if (editing && editingPart==4) else if (editing && editingPart==4)
return displayText + QString(": %1-%2-%3 %4:>%5<:%6 UTC").a rg(parts.at(0)).arg(parts.at(1), 2, 10, QChar('0')).arg(parts.at(2), 2, 10, QChar('0')).arg(parts.at(3), 2, 10, QChar('0')).arg(parts.at(4), 2, 10, QC har('0')).arg(parts.at(5), 2, 10, QChar('0')); return displayText + QString(": %1-%2-%3 %4:>%5<:%6 UTC").a rg(parts.at(0)).arg(parts.at(1), 2, 10, QChar('0')).arg(parts.at(2), 2, 10, QChar('0')).arg(parts.at(3), 2, 10, QChar('0')).arg(parts.at(4), 2, 10, QC har('0')).arg(parts.at(5), 2, 10, QChar('0'));
else if (editing && editingPart==5) else if (editing && editingPart==5)
return displayText + QString(": %1-%2-%3 %4:%5:>%6< UTC").a rg(parts.at(0)).arg(parts.at(1), 2, 10, QChar('0')).arg(parts.at(2), 2, 10, QChar('0')).arg(parts.at(3), 2, 10, QChar('0')).arg(parts.at(4), 2, 10, QC har('0')).arg(parts.at(5), 2, 10, QChar('0')); return displayText + QString(": %1-%2-%3 %4:%5:>%6< UTC").a rg(parts.at(0)).arg(parts.at(1), 2, 10, QChar('0')).arg(parts.at(2), 2, 10, QChar('0')).arg(parts.at(3), 2, 10, QChar('0')).arg(parts.at(4), 2, 10, QC har('0')).arg(parts.at(5), 2, 10, QChar('0'));
else else
return displayText + QString(": %1-%2-%3 %4:%5:%6 UTC").arg (parts.at(0)).arg(parts.at(1), 2, 10, QChar('0')).arg(parts.at(2), 2, 10, Q Char('0')).arg(parts.at(3), 2, 10, QChar('0')).arg(parts.at(4), 2, 10, QCha r('0')).arg(parts.at(5), 2, 10, QChar('0')); return displayText + QString(": %1-%2-%3 %4:%5:%6 UTC").arg (parts.at(0)).arg(parts.at(1), 2, 10, QChar('0')).arg(parts.at(2), 2, 10, Q Char('0')).arg(parts.at(3), 2, 10, QChar('0')).arg(parts.at(4), 2, 10, QCha r('0')).arg(parts.at(5), 2, 10, QChar('0'));
} }
void TuiNodeDateTime::incPart(int part, bool add) void TuiNodeDateTime::incPart(int part, bool add)
{ {
Q_UNUSED(part);
int diff = 1; int diff = 1;
if (!add) if (!add)
diff *= -1; diff *= -1;
QList<int> parts = getParts(value); QList<int> parts = getParts(value);
if (editingPart==0) if (editingPart==0)
{ {
double newDate; double newDate;
if (StelUtils::getJDFromDate(&newDate, parts.at(editingPart) + diff, parts.at(1), parts.at(2), parts.at(3), parts.at(4), parts.at(5))) if (StelUtils::getJDFromDate(&newDate, parts.at(editingPart) + diff, parts.at(1), parts.at(2), parts.at(3), parts.at(4), parts.at(5)))
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 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/