Fix contructors.
This commit is contained in:
parent
6b0e1eecec
commit
cd62c222e9
@ -35,6 +35,7 @@ Feed::Feed(RootItem* parent)
|
|||||||
m_totalCount(0), m_unreadCount(0) {
|
m_totalCount(0), m_unreadCount(0) {
|
||||||
setKind(RootItemKind::Feed);
|
setKind(RootItemKind::Feed);
|
||||||
setAutoDelete(false);
|
setAutoDelete(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Feed::Feed(const Feed& other) : RootItem(other) {
|
Feed::Feed(const Feed& other) : RootItem(other) {
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
StandardCategory::StandardCategory(RootItem* parent_item) : Category(parent_item) {}
|
StandardCategory::StandardCategory(RootItem* parent_item) : Category(parent_item) {}
|
||||||
|
|
||||||
StandardCategory::StandardCategory(const StandardCategory& other)
|
StandardCategory::StandardCategory(const StandardCategory& other)
|
||||||
: Category(nullptr) {
|
: StandardCategory(nullptr) {
|
||||||
setId(other.id());
|
setId(other.id());
|
||||||
setCustomId(other.customId());
|
setCustomId(other.customId());
|
||||||
setTitle(other.title());
|
setTitle(other.title());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user