QSingleTaskTreeRunner: Fix cancel() and reset()
The intention of using QList::empty() was to empty the list.
However, empty() is a const getter. Use clear() instead.
Change-Id: I2388a0ced4ea29d5606b48955ce5f3108cfeb450
Reviewed-by: hjk <hjk@qt.io>
| commit | 60fa31354d02dc2d253e7bcfa3c7db655ad1f7d4 |
| parent | 6a34ae97d59cafebd79892db3fea0d79168b7d99 |
| author | Jarek Kobus <jaroslaw.kobus@qt.io> |
| committer | Jarek Kobus <jaroslaw.kobus@qt.io> |
| commit time | Thu, 20 Nov 2025 12:58:38 +0100 |