BUGFIX: Fix possible crash with folder scanning

This commit is contained in:
Christophe Dumez
2010-03-22 18:57:32 +00:00
parent 10c4fd330a
commit 0af5d82114
6 changed files with 34 additions and 23 deletions

View File

@@ -55,7 +55,7 @@ public:
// TODO: removePaths(); singular version becomes private helper functions;
// also: remove functions should take modelindexes
PathStatus addPath(const QString &path);
PathStatus addPath(const QString &path, bool download_at_path);
void removePath(int row);
bool removePath(const QString &path);
PathStatus setDownloadAtPath(int row, bool downloadAtPath);