src/parser.cpp

changeset 105
6ca6e8c647d4
parent 77
028798a72591
child 115
ed884a2fb009
equal deleted inserted replaced
104:cd4df75924b7 105:6ca6e8c647d4
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

mercurial