Commit 590fa76e authored by Michael Pyne's avatar Michael Pyne

lyrics: Handle playback stoppage.

parent a770c674
......@@ -63,6 +63,11 @@ void LyricsWidget::saveConfig()
void LyricsWidget::playing(const FileHandle &file)
{
if(file.isNull()) {
setHtml(QLatin1String("<i>No file playing.</i>"));
return;
}
setHtml("<i>Loading...</i>");
QUrl listUrl("http://lyrics.wikia.com/api.php");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment