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 |