Fix handling systray notifications
authorGyörgy Balló <ballogyor@gmail.com>
Thu, 16 Feb 2017 07:41:08 +0000 (08:41 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 4 Apr 2018 21:14:03 +0000 (23:14 +0200)
commit04a56470b29b9ff4e1de454e06676fb58e480c6d
tree71d0099db573e9cbcbd72dd1ab401dccbcb1d40d
parente30092afc1803d753914a7ab9fa88bba818de559
Fix handling systray notifications

Only toggle/activate the main window if the notification message comes
from quassel.

This fixes the problem that Quassel's main window is opened when the
user clicks on any notification bubbles from other applications.

Resolves GH-272.

(cherry picked from commit 4c414f8fb60a3a84e09f43ae0161677f88d318ca)
src/qtui/systraynotificationbackend.cpp