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

This commit is contained in:
codestation committed 2015-12-27 16:33:55 -04:30
1 parent c10bf4b177
commit 5f508fa47c
4 files changed
+7

No files matched your search

+1
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()