| 230 | const ICaptureContext *ctxptr = NULL; |
| 231 | |
| 232 | void cacheText(const QWidget *widget) |
| 233 | { |
| 234 | if(!ctxptr) |
| 235 | ctxptr = getCaptureContext(widget); |
| 236 | |
| 237 | if(!ctxptr) |
| 238 | return; |
| 239 | |
| 240 | cacheText(*ctxptr); |
| 241 | } |
| 242 | |
| 243 | void cacheText(const ICaptureContext &ctx) |
| 244 | { |
no test coverage detected