MCPcopy Create free account
hub / github.com/KDAB/GammaRay / setRootPath

Function setRootPath

common/paths.cpp:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void setRootPath(const QString &rootPath)
51{
52 Q_ASSERT(!rootPath.isEmpty());
53 Q_ASSERT(QDir(rootPath).exists());
54 Q_ASSERT(QDir(rootPath).isAbsolute());
55
56 QMutexLocker locker(&s_pathData()->mutex);
57 s_pathData()->rootPath = rootPath;
58}
59
60void setRelativeRootPath(const char *relativeRootPath)
61{

Callers 4

startupHookReceivedMethod · 0.85
ProbeSettingsTestClass · 0.85
setRelativeRootPathFunction · 0.85

Calls 2

isEmptyMethod · 0.45
existsMethod · 0.45

Tested by

no test coverage detected