diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-03-05 15:26:07 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-03-05 15:26:07 +0100 |
commit | 1be42045eea0ac01a59591c447665957ab95e46d (patch) | |
tree | 21e5e35e7a808d3fd30b33c857a7b1b95698ae39 /src/ui | |
parent | Fix cplusplus macro on windows (diff) | |
download | nheko-1be42045eea0ac01a59591c447665957ab95e46d.tar.xz |
fix linting
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/SnackBar.cpp | 4 |
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); }); |