Code cleanup

This commit is contained in:
Christophe Dumez 2010-07-23 14:05:53 +00:00
commit b483f09d11
16 changed files with 136 additions and 144 deletions

View file

@ -201,7 +201,7 @@ signals:
private:
void addTorrentsFromDir(const QDir &dir, QStringList &torrents) {
const QStringList &files = dir.entryList(filters, QDir::Files, QDir::Unsorted);
const QStringList files = dir.entryList(filters, QDir::Files, QDir::Unsorted);
foreach(const QString &file, files)
torrents << dir.canonicalPath() + '/' + file;
}