Skip to content

Commit

Permalink
Fix some trivial issues in plugins.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed Aug 20, 2011
1 parent ce0aced commit 1c5bca8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions mythplugins/mytharchive/mytharchive/archivesettings.cpp
Expand Up @@ -7,6 +7,7 @@
// myth
#include <mythcontext.h>
#include <mythdirs.h>
#include <util.h>

// mytharchive
#include "archivesettings.h"
Expand Down
4 changes: 2 additions & 2 deletions mythplugins/mytharchive/mytharchive/importnative.cpp
Expand Up @@ -250,7 +250,7 @@ void ArchiveFileSelector::itemSelected(MythUIButtonListItem *item)
m_progTitle->SetText(m_details.title);
m_progSubtitle->SetText(m_details.subtitle);
m_progStartTime->SetText(m_details.startTime.toLocalTime()
.ToString("dd MMM yy (hh:mm)"));
.toString("dd MMM yy (hh:mm)"));
}
else
{
Expand Down Expand Up @@ -355,7 +355,7 @@ bool ImportNative::Create(void)
m_progTitle_text->SetText(m_details.title);

m_progDateTime_text->SetText(m_details.startTime.toLocalTime()
.ToString("dd MMM yy (hh:mm)"));
.toString("dd MMM yy (hh:mm)"));
m_progDescription_text->SetText(
(m_details.subtitle == "" ? m_details.subtitle + "\n" : "") + m_details.description);

Expand Down
8 changes: 4 additions & 4 deletions mythplugins/mytharchive/mytharchive/recordingselector.cpp
Expand Up @@ -265,7 +265,7 @@ void RecordingSelector::titleChanged(MythUIButtonListItem *item)

if (m_datetimeText)
m_datetimeText->SetText(p->GetScheduledStartTime().toLocalTime()
.ToString("dd MMM yy (hh:mm)"));
.toString("dd MMM yy (hh:mm)"));

if (m_descriptionText)
{
Expand Down Expand Up @@ -363,9 +363,9 @@ void RecordingSelector::OKPressed()
a->subtitle = p->GetSubtitle();
a->description = p->GetDescription();
a->startDate = p->GetScheduledStartTime()
.toLocalTime().ToString("dd MMM yy");
.toLocalTime().toString("dd MMM yy");
a->startTime = p->GetScheduledStartTime()
.toLocalTime().ToString("(hh:mm)");
.toLocalTime().toString("(hh:mm)");
a->size = p->GetFilesize();
a->filename = p->GetPlaybackURL(false, true);
a->hasCutlist = p->HasCutlist();
Expand Down Expand Up @@ -413,7 +413,7 @@ void RecordingSelector::updateRecordingList(void)
m_recordingButtonList,
p->GetTitle() + " ~ " +
p->GetScheduledStartTime().toLocalTime()
.ToString("dd MMM yy (hh:mm)"));
.toString("dd MMM yy (hh:mm)"));
item->setCheckable(true);
if (m_selectedList.indexOf((ProgramInfo *) p) != -1)
{
Expand Down
2 changes: 1 addition & 1 deletion mythplugins/mythgallery/mythgallery/iconview.cpp
Expand Up @@ -1123,7 +1123,7 @@ void IconView::HandleImport(void)

// Makes import directory samba/windows friendly (no colon)
QString idirname = m_currDir + "/" +
MythDate::current().ToString("yyyy-MM-dd_hh-mm-ss");
MythDate::current().toString("yyyy-MM-dd_hh-mm-ss");

importdir.mkdir(idirname);
importdir.setPath(idirname);
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/metadata.cpp
Expand Up @@ -7,6 +7,7 @@
// mythtv
#include <mythcontext.h>
#include <mythwidgets.h>
#include <util.h>
#include <mythdb.h>
#include <mythdirs.h>
#include <mythprogressdialog.h>
Expand Down

0 comments on commit 1c5bca8

Please sign in to comment.