Fix contructors.

This commit is contained in:
Martin Rotter 2017-09-25 14:41:44 +02:00
parent 9b1b3c37d3
commit 6b0e1eecec

View File

@ -38,6 +38,9 @@ Feed::Feed(RootItem* parent)
}
Feed::Feed(const Feed& other) : RootItem(other) {
setKind(RootItemKind::Feed);
setAutoDelete(false);
setCountOfAllMessages(other.countOfAllMessages());
setCountOfUnreadMessages(other.countOfUnreadMessages());
setUrl(other.url());