From 697541ea2c50ba97fc4b4e31e9e7c4d82be51899 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 28 Sep 2013 08:55:45 +0200 Subject: Fix copy constructor of SmTreeItem Seems the copy constructor of SmTreeItem was botched. After copying a rootItem, some children wouldn't show up. I guess it has something to do with the QHash of the parents. Replace it with an explictit deep copy function where needed. --- archivemodel.h | 1 + 1 file changed, 1 insertion(+) (limited to 'archivemodel.h') diff --git a/archivemodel.h b/archivemodel.h index 83f8513..12b76be 100644 --- a/archivemodel.h +++ b/archivemodel.h @@ -130,6 +130,7 @@ class ArchiveCollector : public QThread { virtual void run(); private: + SmTreeItem *copyRecursive(SmTreeItem *item, SmTreeItem *parent); void populateBySeriesName(); void populateByGenre(); void populateByActor(); -- cgit v1.2.3-70-g09d2