Permalink
Browse files

Fix bug selecting themes with periods in the name.

Convert ThemeInfo::GetDirectoryName() to use QFileInfo::fileName()
instead of QFileInfo::baseName() so that we get the full directory
name not just everything up to the first period.
  • Loading branch information...
cpinkham committed Oct 11, 2012
1 parent d837157 commit 607c2a03238ade7ea01c1e6c6477985854c89f74
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythui/themeinfo.h
@@ -39,7 +39,7 @@ class MUI_PUBLIC ThemeInfo : public XMLParseBase
QString GetThemeWebSite() const { return m_themesite; }
QString GetLocalURL() const { return m_themeurl; }
QString GetDirectoryName() const { return m_theme.baseName(); }
QString GetDirectoryName() const { return m_theme.fileName(); }
void ToMap(QHash<QString, QString> &infoMap) const;

0 comments on commit 607c2a0

Please sign in to comment.