Fix some coverity and cppcheck issues

This commit is contained in:
heckflosse
2017-06-18 18:40:40 +02:00
parent ae67344f16
commit 8aff354df9
14 changed files with 30 additions and 27 deletions

View File

@@ -886,7 +886,9 @@ void BlackWhite::neutral_pressed ()
updateRGBLabel();
listener->panelChanged (EvNeutralBW, M("ADJUSTER_RESET_TO_DEFAULT"));
if(listener) {
listener->panelChanged (EvNeutralBW, M("ADJUSTER_RESET_TO_DEFAULT"));
}
}
void BlackWhite::enabledcc_toggled ()