Fix a QAction leak (#5008)
authorJocelyn Turcotte <jturcotte@woboq.com>
Mon, 27 Jun 2016 14:22:51 +0000 (16:22 +0200)
committerGitHub <noreply@github.com>
Mon, 27 Jun 2016 14:22:51 +0000 (16:22 +0200)
commit446e7cbd930ce8043e2cb9274161292b2a383e1e
tree20432c9a372469de4c4dd076e964c9388b4d56c4
parentb4d26ba952e4e0093eadeb87fbd8d6776cc3c327
Fix a QAction leak (#5008)

Attach the accout menu QAction to the menu rather than the
ownCloudGui since it should be destroyed when the context
menu is cleared.
src/gui/owncloudgui.cpp