Ensure timeline ruler is correctly updated on profile switch.

Related to #819
1 job for master in 35 minutes and 27 seconds (queued for 262 minutes and 8 seconds)
Status Job ID Name Coverage
  Build
passed #74008
linux kf5-qt5 qt5.12

00:35:27

19.0%