From cd62c222e96575bb1574fd499202436aaf3861c2 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Mon, 25 Sep 2017 14:45:45 +0200 Subject: [PATCH] Fix contructors. --- src/services/abstract/feed.cpp | 1 + src/services/standard/standardcategory.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/services/abstract/feed.cpp b/src/services/abstract/feed.cpp index 0b0e93ec9..47263c8e4 100755 --- a/src/services/abstract/feed.cpp +++ b/src/services/abstract/feed.cpp @@ -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) { diff --git a/src/services/standard/standardcategory.cpp b/src/services/standard/standardcategory.cpp index 25bfb43d0..da1d42526 100755 --- a/src/services/standard/standardcategory.cpp +++ b/src/services/standard/standardcategory.cpp @@ -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());