FEATURE: Added actions to "Move to top/bottom" of priority queue

This commit is contained in:
Christophe Dumez 2010-08-14 15:53:05 +00:00
commit 66d4cc2ab8
13 changed files with 245 additions and 193 deletions

View file

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