src/documentmanager.cpp

changeset 1114
ffd49a28f49e
parent 1097
9a9e6ce0c5dc
child 1123
15e46ea3151f
--- a/src/documentmanager.cpp	Thu Feb 09 20:44:36 2017 +0200
+++ b/src/documentmanager.cpp	Thu Feb 09 20:54:21 2017 +0200
@@ -27,6 +27,7 @@
 
 ConfigOption (QStringList RecentFiles)
 ConfigOption (bool TryDownloadMissingFiles = false)
+const QStringList DocumentManager::specialSubdirectories {"s", "48", "8"};
 
 enum
 {
@@ -208,7 +209,7 @@
 			// Ensure we don't mix subfiles and 48-primitives with non-subfiles and non-48
 			QString partTopDir = Basename (Dirname (partpath));
 
-			for (QString subdir : g_specialSubdirectories)
+			for (QString subdir : specialSubdirectories)
 			{
 				if ((partTopDir == subdir) != (relativeTopDir == subdir))
 					goto skipthis;

mercurial