--- a/src/ldDocument.cpp Thu Feb 09 20:44:36 2017 +0200 +++ b/src/ldDocument.cpp Thu Feb 09 20:54:21 2017 +0200 @@ -507,7 +507,7 @@ QString shortname = Basename (a); QString topdirname = Basename (Dirname (a)); - if (g_specialSubdirectories.contains (topdirname)) + if (DocumentManager::specialSubdirectories.contains (topdirname)) shortname.prepend (topdirname + "\\"); return shortname;