src/ldDocument.cpp

changeset 1114
ffd49a28f49e
parent 1113
5f3139c802bf
child 1117
efcb47c64a72
equal deleted inserted replaced
1113:5f3139c802bf 1114:ffd49a28f49e
505 QString LDDocument::shortenName (QString a) // [static] 505 QString LDDocument::shortenName (QString a) // [static]
506 { 506 {
507 QString shortname = Basename (a); 507 QString shortname = Basename (a);
508 QString topdirname = Basename (Dirname (a)); 508 QString topdirname = Basename (Dirname (a));
509 509
510 if (g_specialSubdirectories.contains (topdirname)) 510 if (DocumentManager::specialSubdirectories.contains (topdirname))
511 shortname.prepend (topdirname + "\\"); 511 shortname.prepend (topdirname + "\\");
512 512
513 return shortname; 513 return shortname;
514 } 514 }
515 515

mercurial