Skip to content

Commit

Permalink
Fix method name aliasing.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed Dec 4, 2012
1 parent 152cd6e commit 1c0a828
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythbase/mythversion.h
Expand Up @@ -12,7 +12,7 @@
/// Update this whenever the plug-in API changes.
/// Including changes in the libmythbase, libmyth, libmythtv, libmythav* and
/// libmythui class methods used by plug-ins.
#define MYTH_BINARY_VERSION "0.27.20121128-1"
#define MYTH_BINARY_VERSION "0.27.20121204-1"

/** \brief Increment this whenever the MythTV network protocol changes.
*
Expand Down
6 changes: 3 additions & 3 deletions mythtv/libs/libmythui/mythuifilebrowser.cpp
Expand Up @@ -151,7 +151,7 @@ MythUIFileBrowser::MythUIFileBrowser(MythScreenStack *parent,
{
m_retObject = NULL;

Init(startPath);
SetPath(startPath);

m_typeFilter = (QDir::AllDirs | QDir::Drives | QDir::Files |
QDir::Readable | QDir::Writable | QDir::Executable);
Expand All @@ -167,7 +167,7 @@ MythUIFileBrowser::~MythUIFileBrowser()
{
}

void MythUIFileBrowser::Init(const QString &startPath)
void MythUIFileBrowser::SetPath(const QString &startPath)
{
if (startPath.startsWith("myth://"))
{
Expand Down Expand Up @@ -363,7 +363,7 @@ void MythUIFileBrowser::editLostFocus()
{
QString newPath = m_locationEdit->GetText();

Init(newPath);
SetPath(newPath);

updateFileList();
}
Expand Down
2 changes: 1 addition & 1 deletion mythtv/libs/libmythui/mythuifilebrowser.h
Expand Up @@ -80,7 +80,6 @@ class MUI_PUBLIC MythUIFileBrowser : public MythScreenType
MythUIFileBrowser(MythScreenStack *parent, const QString &startPath);
~MythUIFileBrowser();

void Init(const QString &startPath);
bool Create(void);

void SetReturnEvent(QObject *retobject, const QString &resultid);
Expand All @@ -99,6 +98,7 @@ class MUI_PUBLIC MythUIFileBrowser : public MythScreenType
void LoadPreview(void);

private:
void SetPath(const QString &startPath);
bool GetRemoteFileList(const QString &url, const QString &sgDir,
QStringList &list);
void updateFileList(void);
Expand Down

0 comments on commit 1c0a828

Please sign in to comment.