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>
Merge pull request #3 from frajasalo/master_fixing

Move the initialization of non-static member to the constructor