coverity: fixes

Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
misc: simpler implementation of qobject_ptr

Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
gui: remove unneeded check

Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
coverity: fixes

Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
chat: fix setting Chat on renderer

Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
chat: make ChatMessagesRenderer an QObject

Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
chat: add initialize method to ChatMessagesRenderer

Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>