Move the initialization of non-static member to the constructor

This fixes the build error mentioned in the issue #2.

fixes tstaerk/qtimetracker#2

Signed-off-by: Frank Bergmann <github@frajasalo.de>