summary refs log tree commit diff
path: root/src/dialogs/Logout.cc
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-02-20 17:09:11 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-02-20 17:09:11 +0200
commitf95998a64bebcb12ffe07fcb6f23cdabff434641 (patch)
tree3a2388ebd9a271f59e3c8a8d36bb906c40fe3386 /src/dialogs/Logout.cc
parentScale down the preview image to fit in the application window (diff)
downloadnheko-f95998a64bebcb12ffe07fcb6f23cdabff434641.tar.xz
Be explicit about the captured parameters in lambdas
Diffstat (limited to 'src/dialogs/Logout.cc')
-rw-r--r--src/dialogs/Logout.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dialogs/Logout.cc b/src/dialogs/Logout.cc

index f4752b0a..99913b04 100644 --- a/src/dialogs/Logout.cc +++ b/src/dialogs/Logout.cc
@@ -60,8 +60,8 @@ Logout::Logout(QWidget *parent) layout->addWidget(label); layout->addLayout(buttonLayout); - connect(confirmBtn_, &QPushButton::clicked, [=]() { emit closing(true); }); - connect(cancelBtn_, &QPushButton::clicked, [=]() { emit closing(false); }); + connect(confirmBtn_, &QPushButton::clicked, [this]() { emit closing(true); }); + connect(cancelBtn_, &QPushButton::clicked, [this]() { emit closing(false); }); } void