If this is the first run of Cantata, and we are connected to MPD (because of initial settings wizard), then pretend we received a 'connected()' signal from MPDConnection

BUG: 238
This commit is contained in:
craig.p.drummond@gmail.com
2013-06-11 11:21:38 +00:00
parent 954f323023
commit 1a15052ed1

View File

@@ -870,6 +870,9 @@ MainWindow::MainWindow(QWidget *parent)
PAGE_FOLDERS!=tabWidget->current_index() && PAGE_PLAYLISTS!=tabWidget->current_index())) {
currentTabChanged(tabWidget->current_index());
}
if (Settings::self()->firstRun() && MPDConnection::self()->isConnected()) {
mpdConnectionStateChanged(true);
}
}
MainWindow::~MainWindow()