Fix uncategorised usage of qWarning().

Change-Id: Iee8b8e619f1679fe9b6e8aed47d05f7414417043
Reviewed-by: Kai Koehne <kai.koehne@digia.com>