Skip to content

Commit

Permalink
Themed menus: Prepend GetConfDir() to the search path.
Browse files Browse the repository at this point in the history
This means $MYTHCONFDIR or ~/.mythtv is searched first.  Refs #11533.
  • Loading branch information
stichnot committed May 13, 2013
1 parent 46d96bf commit 892cd64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mythtv/libs/libmythtv/tv_play.cpp
Expand Up @@ -10981,7 +10981,8 @@ bool MenuBase::MenuLoadFromFile(const QString &filename,

m_translationContext = translationContext;
m_keyBindingContext = keyBindingContext;
const QStringList searchpath = GetMythUI()->GetThemeSearchPath();
QStringList searchpath = GetMythUI()->GetThemeSearchPath();
searchpath.prepend(GetConfDir() + '/');
QStringList::const_iterator it = searchpath.begin();
for (; !result && it != searchpath.end(); ++it)
{
Expand Down

0 comments on commit 892cd64

Please sign in to comment.