Missing QDateTime object for display only object. Cherry picked.
Merge pull request #302 from spekary/bugfix-variable-declarations

Missing QDateTime object for display only object