| 193 | } |
| 194 | |
| 195 | void 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 |
nothing calls this directly
no test coverage detected