Dont need to stop dynamizer unless connection details have changed.
This commit is contained in:
committed by
craig.p.drummond@gmail.com
parent
5a61cf0609
commit
458cead912
@@ -1655,7 +1655,9 @@ void MainWindow::connectToMpd(const MPDConnectionDetails &details)
|
||||
lyricsPage->text->clear();
|
||||
serverInfoPage->clear();
|
||||
#if !defined Q_OS_WIN && !defined CANTATA_ANDROID
|
||||
Dynamic::self()->stop();
|
||||
if (!MPDConnection::self()->getDetails().isEmpty() && details!=MPDConnection::self()->getDetails()) {
|
||||
Dynamic::self()->stop();
|
||||
}
|
||||
#endif
|
||||
showInformation(i18n("Connecting to %1").arg(details.description()));
|
||||
outputsAction->setVisible(false);
|
||||
|
||||
Reference in New Issue
Block a user