Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix some trivial issues in plugins.

  • Loading branch information...
commit 1c5bca8a8cd67fe020a35178e7a9166cc57463f3 1 parent ce0aced
@daniel-kristjansson daniel-kristjansson authored
View
1  mythplugins/mytharchive/mytharchive/archivesettings.cpp
@@ -7,6 +7,7 @@
// myth
#include <mythcontext.h>
#include <mythdirs.h>
+#include <util.h>
// mytharchive
#include "archivesettings.h"
View
4 mythplugins/mytharchive/mytharchive/importnative.cpp
@@ -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
{
@@ -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);
View
8 mythplugins/mytharchive/mytharchive/recordingselector.cpp
@@ -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)
{
@@ -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();
@@ -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)
{
View
2  mythplugins/mythgallery/mythgallery/iconview.cpp
@@ -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);
View
1  mythplugins/mythmusic/mythmusic/metadata.cpp
@@ -7,6 +7,7 @@
// mythtv
#include <mythcontext.h>
#include <mythwidgets.h>
+#include <util.h>
#include <mythdb.h>
#include <mythdirs.h>
#include <mythprogressdialog.h>

0 comments on commit 1c5bca8

Please sign in to comment.
Something went wrong with that request. Please try again.