MCPcopy Create free account
hub / github.com/colmap/colmap / DefaultBaseDir

Function DefaultBaseDir

src/colmap/ui/main_window.cc:65–70  ·  view source on GitHub ↗

Default fallback: Documents (or home).

Source from the content-addressed store, hash-verified

63
64// Default fallback: Documents (or home).
65QString DefaultBaseDir() {
66 QString d =
67 QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation);
68 if (d.isEmpty()) d = QDir::homePath();
69 return d;
70}
71
72// Load last dir for a given key, falling back to a global last dir,
73// and finally to a sensible default.

Callers 2

GetLastOpenFunction · 0.85
SetLastOpenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected