Changed: SHow no-files text if there is no songs in playlist

fix-media-player
Nimetu 5 years ago
parent 52d6f89e1e
commit 6993a2731f

@ -488,7 +488,14 @@ void CMusicPlayer::updatePlayingInfo(const std::string info)
// *************************************************************************** // ***************************************************************************
void CMusicPlayer::clearPlayingInfo() void CMusicPlayer::clearPlayingInfo()
{ {
updatePlayingInfo(""); if (_Songs.empty())
{
updatePlayingInfo(CI18N::get("uiNoFiles").toUtf8());
}
else
{
updatePlayingInfo("");
}
} }
// *************************************************************************** // ***************************************************************************

Loading…
Cancel
Save