Fixed Debian 7 compile error.

This commit is contained in:
leozide 2017-07-27 12:38:01 -07:00
parent cc4dbb1fc8
commit 06fec63c87

View file

@ -613,7 +613,7 @@ void lcQPreferencesDialog::UpdateMouseTree()
void lcQPreferencesDialog::UpdateMouseTreeItem(int ItemIndex)
{
auto GetShortcutText = [](Qt::MouseButton Button, Qt::KeyboardModifiers Modifiers)
auto GetShortcutText = [this](Qt::MouseButton Button, Qt::KeyboardModifiers Modifiers)
{
QString Shortcut = QKeySequence(Modifiers).toString(QKeySequence::NativeText);