summary refs log tree commit diff
path: root/src/ui
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-03-05 15:26:07 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-03-05 15:26:07 +0100
commit1be42045eea0ac01a59591c447665957ab95e46d (patch)
tree21e5e35e7a808d3fd30b33c857a7b1b95698ae39 /src/ui
parentFix cplusplus macro on windows (diff)
downloadnheko-1be42045eea0ac01a59591c447665957ab95e46d.tar.xz
fix linting
Diffstat (limited to 'src/ui')
-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); });