Reworked postcapture model
authorMohammed Sameer <msameer@foolab.org>
Sat, 14 Sep 2013 21:39:49 +0000 (00:39 +0300)
committerMohammed Sameer <msameer@foolab.org>
Sat, 14 Sep 2013 21:39:49 +0000 (00:39 +0300)
commit639e4278c097fd53eb04c2e7b10327e177774676
tree550632e3de5dd90ec78c02b54518d25cdae669e7
parent1be7fcef42b70a4c50910d1ed0820de863180b82
Reworked postcapture model

Ditch the implementation using QDir and use opendir()/readdir()
This decreases the time needed to create the model for a directory
containing 1336 files to 33ms instead of 200-300ms

Getting the entries of the directory itself using QDir was costing us ~120ms
src/postcapturemodel.cpp