Regression was introduced in 3372dfcd3e.
Only when platform-specific code can give us the global time of the
last user input event we rely on idle time for notifications hiding.
Fixes#5791.
- Removed condition for Windows platform only.
- Added smooth hiding of notifications in case video is watched or voice message is recorded.
- psUserActionDone() was completely replaced with Core::App().updateNonIdle().
- psIdleTime() was replaced with Platform::LastUserInputTime().
- _lastTimeVideoPlayedAt was moved to Application as _lastNonIdleTime.
- Call of updateNonIdle() was added while voice is recording.
- Fixed#5695.
- Thanks Preston. =)
Use Qt::Dialog instead of Qt::Tool which works better with window
activation / deactivation handling.
Stop displaying the panel on all spaces when the call is established.