Fix virtual function being hidden error.

Change-Id: I7b4072a11df9f06a45c11dfc4268e1cfc63ccb53
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>