summary refs log tree commit diff
path: root/src/ui/SnackBar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/SnackBar.cpp')
-rw-r--r--src/ui/SnackBar.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ui/SnackBar.cpp b/src/ui/SnackBar.cpp

index 2453369d..2bff903b 100644 --- a/src/ui/SnackBar.cpp +++ b/src/ui/SnackBar.cpp
@@ -32,9 +32,7 @@ SnackBar::SnackBar(QWidget *parent) offset_anim.setDuration(100); offset_anim.setEasingCurve(QEasingCurve::OutCubic); - connect(this, &SnackBar::offsetChanged, this, [this]() mutable { - repaint(); - }); + connect(this, &SnackBar::offsetChanged, this, [this]() mutable { repaint(); }); connect( &offset_anim, &QPropertyAnimation::finished, this, [this]() { hideTimer_.start(10000); });