summaryrefslogtreecommitdiffhomepage
path: root/gui/keyboard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/keyboard.cpp')
-rw-r--r--gui/keyboard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/keyboard.cpp b/gui/keyboard.cpp
index e24d4644..4987d9c0 100644
--- a/gui/keyboard.cpp
+++ b/gui/keyboard.cpp
@@ -5,7 +5,7 @@
keyboard_listener::keyboard_listener(QWidget* parent) :
QDialog(parent)
#if defined _WIN32
- , token([&](const Key& k) {
+ , token([this](const Key& k) {
if(k.guid != "")
{
int mods = 0;