Partially fix 1702760: stop compiler warning about layeractionmanager.cpp.