src/primitives.cpp

changeset 319
d0f41342ef51
parent 311
c6e38e5e4f33
child 321
48e429bfd58c
equal deleted inserted replaced
318:de051d2bd80b 319:d0f41342ef51
249 str cmd = line.left (colon); 249 str cmd = line.left (colon);
250 250
251 PrimitiveCategory::Type type = PrimitiveCategory::Filename; 251 PrimitiveCategory::Type type = PrimitiveCategory::Filename;
252 if (cmd == "f") { 252 if (cmd == "f") {
253 type = PrimitiveCategory::Filename; 253 type = PrimitiveCategory::Filename;
254 } else if (cmd == "t") { 254 } elif (cmd == "t") {
255 type = PrimitiveCategory::Title; 255 type = PrimitiveCategory::Title;
256 } else 256 } else
257 continue; 257 continue;
258 258
259 QRegExp regex (line.mid (colon + 1)); 259 QRegExp regex (line.mid (colon + 1));

mercurial