Fix memory leak on icon tray by letting events pass the parent widget.

This commit is contained in:
codestation
2015-12-27 16:33:55 -04:30
parent c10bf4b177
commit 5f508fa47c
4 changed files with 7 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ QTrayIcon::QTrayIcon(QWidget *obj_parent)
#ifdef Q_OS_LINUX
notify_init("qcma");
#endif
setAttribute(Qt::WA_TransparentForMouseEvents);
}
QTrayIcon::~QTrayIcon()