- if(QtUi::mainWindow()->systemTray()->isAlerted()) {
- _blockActivation = true; // prevent double activation because both tray icon and bubble might send a signal
+ if(_notifications.count()) {
+ if(QtUi::mainWindow()->systemTray()->mode() == SystemTray::Legacy)
+ _blockActivation = true; // prevent double activation because both tray icon and bubble might send a signal