From f503b034c5efa71ffc3b56c38e45b3911e1fdc78 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Thu, 1 Jun 2017 13:44:56 -0400 Subject: Make sure that the no-pianobar setup section stops when it is finished - don't need to run the rest if pianobar is not installed. --- src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src-qt5/desktop-utils') diff --git a/src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp b/src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp index 6573b8da..ad5fc833 100644 --- a/src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp +++ b/src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp @@ -103,6 +103,7 @@ void MainUI::setupPandora(){ ui->radio_local->setChecked(true); ui->radio_pandora->setToolTip(tr("Please install the `pianobar` utility to enable this functionality")); ui->radio_pandora->setStatusTip(ui->radio_pandora->toolTip()); + return; } ui->radio_pandora->setToolTip(tr("Stream music from the Pandora online radio service")); ui->radio_pandora->setStatusTip(ui->radio_pandora->toolTip()); -- cgit