Skip to content

Commit

Permalink
DlgPrefSound: don't reinitialize sound hardware when nothing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Be-ing committed Sep 30, 2019
1 parent a35a392 commit 8ffb16e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/preferences/dialog/dlgprefsound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,11 @@ void DlgPrefSound::slotUpdate() {
// we change to this pane, we lose changed and unapplied settings
// every time. There's no real way around this, just another argument
// for a prefs rewrite -- bkgood
m_settingsModified = false;
m_bSkipConfigClear = true;
loadSettings();
checkLatencyCompensation();
m_bSkipConfigClear = false;
m_settingsModified = false;
}

/**
Expand Down

0 comments on commit 8ffb16e

Please sign in to comment.