diff options
author | Arno <am@disconnect.de> | 2013-09-28 08:55:45 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2013-09-28 08:55:45 +0200 |
commit | 697541ea2c50ba97fc4b4e31e9e7c4d82be51899 (patch) | |
tree | 1f8e724c653a1f69fe0ece21dcb5409300af87e3 /archivemodel.h | |
parent | 09df993cd04065196279ce2c8c375df0d9080f78 (diff) | |
download | SheMov-697541ea2c50ba97fc4b4e31e9e7c4d82be51899.tar.gz SheMov-697541ea2c50ba97fc4b4e31e9e7c4d82be51899.tar.bz2 SheMov-697541ea2c50ba97fc4b4e31e9e7c4d82be51899.zip |
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.
Diffstat (limited to 'archivemodel.h')
-rw-r--r-- | archivemodel.h | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |