Fix memory leak on icon tray by letting events pass the parent widget.
This commit is contained in:
@@ -37,6 +37,7 @@ QTrayIcon::QTrayIcon(QWidget *obj_parent)
|
||||
#ifdef Q_OS_LINUX
|
||||
notify_init("qcma");
|
||||
#endif
|
||||
setAttribute(Qt::WA_TransparentForMouseEvents);
|
||||
}
|
||||
|
||||
QTrayIcon::~QTrayIcon()
|
||||
|
Reference in New Issue
Block a user