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

Method setRootPathFromProbePath

core/probesettings.cpp:195–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193}
194
195void ProbeSettingsReceiver::setRootPathFromProbePath(const QString &probePath)
196{
197 if (probePath.isEmpty())
198 return;
199
200 QFileInfo fi(probePath);
201 if (fi.isFile())
202 Paths::setRootPath(fi.absolutePath() + QDir::separator() + GAMMARAY_INVERSE_PROBE_DIR);
203 else
204 Paths::setRootPath(probePath + QDir::separator() + GAMMARAY_INVERSE_PROBE_DIR);
205}
206}
207
208#ifdef QT_ANDROIDEXTRAS_LIB

Callers

nothing calls this directly

Calls 2

setRootPathFunction · 0.85
isEmptyMethod · 0.45

Tested by

no test coverage detected