Fix contructors.

This commit is contained in:
Martin Rotter 2017-09-25 14:45:45 +02:00
parent 6b0e1eecec
commit cd62c222e9
2 changed files with 2 additions and 1 deletions

View File

@ -35,6 +35,7 @@ Feed::Feed(RootItem* parent)
m_totalCount(0), m_unreadCount(0) {
setKind(RootItemKind::Feed);
setAutoDelete(false);
}
Feed::Feed(const Feed& other) : RootItem(other) {

View File

@ -35,7 +35,7 @@
StandardCategory::StandardCategory(RootItem* parent_item) : Category(parent_item) {}
StandardCategory::StandardCategory(const StandardCategory& other)
: Category(nullptr) {
: StandardCategory(nullptr) {
setId(other.id());
setCustomId(other.customId());
setTitle(other.title());