From dc7cc269a4fffe43bdac2ae2dc6548fbd1e3bb5e Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 27 Oct 2012 13:02:16 +0200 Subject: Fix archiving pictures Well, what can I say. Lost in recursion and parent pointers. This commit actually boils down to using the proper database tables and inserting the right values. 'Nuff said... --- picfilesmodel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'picfilesmodel.h') diff --git a/picfilesmodel.h b/picfilesmodel.h index 146fbfc..a27372d 100644 --- a/picfilesmodel.h +++ b/picfilesmodel.h @@ -27,7 +27,7 @@ class PicFilesModel : public SmTreeModel { QList dataList(const QModelIndex &idx) const; QList > allFiles() const; void removeFiles(const QList &files); - bool changeMappings(const QList &fileIds, const QList &mappingIds); + bool changeMappings(const QList &fileIds, const QList &parentIds); QList mappingDataFromFile(int fileId) const; QList mappingDataFromFiles(const QList fileIds) const; -- cgit v1.2.3-70-g09d2