From e63b1337cb98ddfa136de78628f5048b682276ff Mon Sep 17 00:00:00 2001 From: Christian Date: Tue, 8 Mar 2016 22:14:49 +0100 Subject: Skindesigner "DetailView" in development --- Directory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Directory.cpp') diff --git a/Directory.cpp b/Directory.cpp index 100b830..d4cbb09 100644 --- a/Directory.cpp +++ b/Directory.cpp @@ -65,7 +65,7 @@ std::string Directory::GetTitle() seriesTitle = m_pParent->m_sParentTitle; switch(m_eType) { - case SEASON: + case MediaType::SEASON: return Poco::format(tr("%s - Season %d"), seriesTitle, m_iIndex); default: return m_sTitle; @@ -78,7 +78,7 @@ void Directory::AddTokens(std::shared_ptr grid, bo if(clear) grid->ClearTokens(); grid->AddIntToken((int)(eTokenGridInt::viewmode), Config::GetInstance().DefaultViewMode); grid->AddStringToken((int)(eTokenGridStr::title), m_sTitle.c_str()); - grid->AddIntToken((int)(eTokenGridInt::viewgroup), m_pParent->m_eViewGroup); + grid->AddIntToken((int)(eTokenGridInt::viewgroup), (int)m_pParent->m_eViewGroup); // Thumb, Cover, Episodepicture bool cached = false; -- cgit v1.2.3