Show the Visualizer immediately if it's the initial screen
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
* Fix intermittent failures of the Genius fetcher.
|
* Fix intermittent failures of the Genius fetcher.
|
||||||
* Fix crash on startup with Visualizer as the initial screen.
|
* Fix crash on startup with Visualizer as the initial screen.
|
||||||
* Fix crash on startup with Browser as the initial screen.
|
* Fix crash on startup with Browser as the initial screen.
|
||||||
|
* Show the Visualizer immediately if it's the initial screen.
|
||||||
|
|
||||||
# ncmpcpp-0.9 (2020-12-20)
|
# ncmpcpp-0.9 (2020-12-20)
|
||||||
* Fix various Mopidy specific bugs.
|
* Fix various Mopidy specific bugs.
|
||||||
|
|||||||
@@ -189,6 +189,9 @@ int main(int argc, char **argv)
|
|||||||
Mpd.Disconnect();
|
Mpd.Disconnect();
|
||||||
throw MPD::ClientError(MPD_ERROR_STATE, "MPD < 0.16.0 is not supported", false);
|
throw MPD::ClientError(MPD_ERROR_STATE, "MPD < 0.16.0 is not supported", false);
|
||||||
}
|
}
|
||||||
|
// Once the connection is established, run full Status::trace to set a
|
||||||
|
// proper window timeout, initialize status etc.
|
||||||
|
Status::trace(true, true);
|
||||||
}
|
}
|
||||||
catch (MPD::ClientError &e)
|
catch (MPD::ClientError &e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -104,7 +104,6 @@ void Visualizer::switchTo()
|
|||||||
{
|
{
|
||||||
SwitchTo::execute(this);
|
SwitchTo::execute(this);
|
||||||
Clear();
|
Clear();
|
||||||
OpenDataSource();
|
|
||||||
m_reset_output = true;
|
m_reset_output = true;
|
||||||
drawHeader();
|
drawHeader();
|
||||||
# ifdef HAVE_FFTW3_H
|
# ifdef HAVE_FFTW3_H
|
||||||
|
|||||||
Reference in New Issue
Block a user