80 } |
80 } |
81 else if (line.startsWith("0 !LDRAW_ORG ")) |
81 else if (line.startsWith("0 !LDRAW_ORG ")) |
82 { |
82 { |
83 QStringList tokens = line |
83 QStringList tokens = line |
84 .mid(strlen("0 !LDRAW_ORG ")) |
84 .mid(strlen("0 !LDRAW_ORG ")) |
85 .split(" ", QString::SkipEmptyParts); |
85 .split(" ", Qt::SkipEmptyParts); |
86 if (not tokens.isEmpty()) |
86 if (not tokens.isEmpty()) |
87 { |
87 { |
88 QString partTypeString = tokens[0]; |
88 QString partTypeString = tokens[0]; |
89 // Anything that enters LDForge becomes unofficial in any case if saved. |
89 // Anything that enters LDForge becomes unofficial in any case if saved. |
90 // Therefore we don't need to give the Unofficial type any special |
90 // Therefore we don't need to give the Unofficial type any special |