Skip to content

Commit 069c177

Browse files
committed
Remove dead code from musiccommon
1 parent c6c32d1 commit 069c177

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

mythplugins/mythmusic/mythmusic/musiccommon.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,6 @@ bool MusicCommon::CreateCommon(void)
129129
UIUtilW::Assign(this, m_muteState, "mutestate", &err);
130130

131131
UIUtilW::Assign(this, m_playlistProgress, "playlistprogress", &err);
132-
UIUtilW::Assign(this, m_playlistProgressText, "playlistposition", &err);
133-
UIUtilW::Assign(this, m_playlistLengthText, "playlisttime", &err);
134132

135133
UIUtilW::Assign(this, m_prevButton, "prev", &err);
136134
UIUtilW::Assign(this, m_rewButton, "rew", &err);
@@ -1934,12 +1932,6 @@ void MusicCommon::updatePlaylistStats(void)
19341932

19351933
SetTextFromMap(map);
19361934

1937-
// if (m_playlistProgressText)
1938-
// m_playlistProgressText->SetTextFromMap(map);
1939-
//
1940-
// if (m_playlistLengthText)
1941-
// m_playlistLengthText->SetTextFromMap(map);
1942-
19431935
if (m_playlistProgress)
19441936
m_playlistProgress->SetUsed(m_playlistPlayedTime + m_currentTime);
19451937
}

mythplugins/mythmusic/mythmusic/musiccommon.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,6 @@ class MPUBLIC MusicCommon : public MythScreenType
190190
MythUIText *m_volumeText;
191191

192192
MythUIProgressBar *m_playlistProgress;
193-
MythUIText *m_playlistProgressText;
194-
MythUIText *m_playlistLengthText;
195193

196194
MythUIButton *m_prevButton;
197195
MythUIButton *m_rewButton;

0 commit comments

Comments
 (0)