Fix comment in copy and pasted code.

Modify the comment to refer to the actual member variable that the
comment is about.

Change-Id: I8ecd9e0de4e0d977866c6d2a93295564ae5d290b
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fix conditional expression.

The return type of the init() function was changed to bool. Fix the
expression that was missed.

Change-Id: I2310064dad9bd4d414a47631c3cc561c2c78cfd2
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>