Fix inefficient usage of qDeleteAll()
Don't iterate through all items to create a temporary
QList we don't need.
Change-Id: I4acc4fa6f8c845b836d35c8ad50a86942e31b36c
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
| commit | 526fd8bd3d9ef112399d1cae6c0dfa094525d33e |
| parent | df7c333ada4345d396c5eef9eeccdd7c08a26092 |
| author | Sergio Martins <sergio.martins@kdab.com> |
| committer | Sérgio Martins <sergio.martins@kdab.com> |
| commit time | Mon, 22 Jun 2015 14:03:29 +0000 |