equal
deleted
inserted
replaced
53 { |
53 { |
54 QString line = stream.readLine(); |
54 QString line = stream.readLine(); |
55 if (line.startsWith("seed")) |
55 if (line.startsWith("seed")) |
56 ui->leSeed->setText(line.mid(5)); |
56 ui->leSeed->setText(line.mid(5)); |
57 else |
57 else |
|
58 if (line.startsWith("map")) |
|
59 ui->leMap->setText(line.mid(4)); |
|
60 else |
|
61 if (line.startsWith("theme")) |
|
62 ui->leTheme->setText(line.mid(6)); |
|
63 else |
58 if (line.startsWith("$turntime")) |
64 if (line.startsWith("$turntime")) |
59 ui->sbTurnTime->setValue(line.mid(10).toInt()); |
65 ui->sbTurnTime->setValue(line.mid(10).toInt()); |
60 else |
66 else |
61 if (line.startsWith("$casefreq")) |
67 if (line.startsWith("$casefreq")) |
62 ui->sbCrateDrops->setValue(line.mid(10).toInt()); |
68 ui->sbCrateDrops->setValue(line.mid(10).toInt()); |