Qt: fix warning

This commit is contained in:
Megamouse 2021-06-18 00:23:13 +02:00 committed by Ivan
parent 7e0f2f9b12
commit f4bcf9ad1d
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ void user_manager_dialog::Init()
restoreGeometry(m_gui_settings->GetValue(gui::um_geometry).toByteArray());
// Use this in multiple connects to protect the current user from deletion/rename.
const auto enable_buttons = [=]()
const auto enable_buttons = [=, this]()
{
const u32 key = GetUserKey();
if (key == 0)