Open spillerrec opened 8 years ago
dir and prefixcan be set and reset independently, which is error prone. Furthermore it should be synchronized with watcher. Also check the usage of file( QString ), we might be able to avoid it.
dir
prefix
watcher
file( QString )
Consider changing fileManager::files from a QList<> to a vector<>
fileManager::files
QList<>
vector<>
dir
andprefix
can be set and reset independently, which is error prone. Furthermore it should be synchronized withwatcher
. Also check the usage offile( QString )
, we might be able to avoid it.