summary refs log tree commit diff
path: root/include/timeline/TimelineView.h
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 /include/timeline/TimelineView.h
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 'include/timeline/TimelineView.h')
-rw-r--r--include/timeline/TimelineView.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/timeline/TimelineView.h b/include/timeline/TimelineView.h

index 96d7690d..7a492de5 100644 --- a/include/timeline/TimelineView.h +++ b/include/timeline/TimelineView.h
@@ -134,7 +134,7 @@ private: { item->hide(); scroll_layout_->addWidget(item); - QTimer::singleShot(0, this, [=]() { item->show(); }); + QTimer::singleShot(0, this, [item]() { item->show(); }); }; //! Decides whether or not to show or hide the scroll down button.