Capture the pointer to info by value
authorKevin Ottens <kevin.ottens@nextcloud.com>
Wed, 17 Jun 2020 10:29:14 +0000 (12:29 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 30 Jun 2020 09:29:08 +0000 (11:29 +0200)
commit03ecaab2590ab82e3d14dccb24ea4056a7930bbe
tree220f2ad20713589f3cf8c89361dbfc3d63a5c757
parent7794de9b5926c9a78017f2ad411b32e489d87d2f
Capture the pointer to info by value

Using a reference capture is a disaster waiting to happen here, if for
some reason we'd move from exec() to popup() for the menu below we'd be
getting garbage in the lambda call.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/gui/accountsettings.cpp