equal
deleted
inserted
replaced
12 case 'H': { |
12 case 'H': { |
13 QString line = in.readLine(); |
13 QString line = in.readLine(); |
14 QString key = line.section(':', 0, 0); |
14 QString key = line.section(':', 0, 0); |
15 QString value = line.section(':', 1, 1).simplified(); |
15 QString value = line.section(':', 1, 1).simplified(); |
16 |
16 |
17 if (key.startsWith("FPLT")) pilot_ = value; |
17 if (key.startsWith("FPLT")) pilot_ = value; |
18 else if (key.startsWith("FGTY")) glider_ = value; |
18 else if (key.startsWith("FGTY")) glider_ = value; |
19 else if (key.startsWith("FDTE")) { |
19 else if (key.startsWith("FDTE")) { |
20 QString s = line.mid(4); |
20 QString s = line.mid(4); |
21 if (s.length() == 6) |
21 if (s.length() == 6) |
22 s.insert(4, "20"); // FIXME: current year? |
22 s.insert(4, "20"); // FIXME: current year? |