From 06fec63c877efa998c6ebb8558c499ca9d98cdc1 Mon Sep 17 00:00:00 2001 From: leozide Date: Thu, 27 Jul 2017 12:38:01 -0700 Subject: [PATCH] Fixed Debian 7 compile error. --- qt/lc_qpreferencesdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/lc_qpreferencesdialog.cpp b/qt/lc_qpreferencesdialog.cpp index 5f3d7855..afda3d21 100644 --- a/qt/lc_qpreferencesdialog.cpp +++ b/qt/lc_qpreferencesdialog.cpp @@ -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);