Various fixes.
Merge pull request #502 from spekary/bugfix-DatePickers

bugfix-QDatePickers