#493724: TaskManager::TasksModel: use QDateTime instead of QTime for lastActivated
Reason for the change
Fixes Bug 493724
TaskManager model can have rows sorted in wrong order if some tasks were activated yesterday and sort mode is SortLastActivated.
Test plan
STEPS TO REPRODUCE
- Install "Application Title Bar" widget to a panel.
- Switch "Active task source" option to "Last active task".
- Open first task.
- Wait until the next day or change date manually.
- Open second task.
OBSERVED RESULT Controls are showed for the first task.
EXPECTED RESULT Controls are showed for the second task.