Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix switching from Shade to other skins #4421

Merged
merged 6 commits into from
Oct 15, 2021
Merged

Conversation

daschuer
Copy link
Member

This fixes debug assertions due to missing deck COs for Channel3/4
https://bugs.launchpad.net/mixxx/+bug/1946812

The issue was that VisualsManager::addDeck() was no longer called when the number ob deck increases.

This is a regression since
#3446 and
3c9435d
discovered when working on #2618

src/waveform/visualsmanager.h Show resolved Hide resolved
@@ -779,7 +790,8 @@ void MixxxMainWindow::connectMenuBar() {
}

void MixxxMainWindow::slotFileLoadSongPlayer(int deck) {
QString group = m_pCoreServices->getPlayerManager()->groupForDeck(deck - 1);
auto pPlayerManager = m_pCoreServices->getPlayerManager();
QString group = pPlayerManager->groupForDeck(deck - 1);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is the static function groupForDeck() invoked on an instance and does not cause a linter warning?

@daschuer
Copy link
Member Author

Done

Copy link
Contributor

@uklotzde uklotzde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! LGTM

@uklotzde uklotzde merged commit 79915d5 into mixxxdj:main Oct 15, 2021
@daschuer daschuer deleted the lp1946812 branch April 14, 2022 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants