summary refs log tree commit diff
diff options
context:
space:
mode:
authorkirp <kirp@dismail.de>2021-08-11 02:29:36 +0300
committerkirp <kirp@dismail.de>2021-08-11 02:29:36 +0300
commit5335e043e76e13b8b101eee7be1f39e444548543 (patch)
tree6d610c2dfccd78897817d317b548403595941ae2
parentchange slot close, to signal closing (diff)
downloadnheko-5335e043e76e13b8b101eee7be1f39e444548543.tar.xz
linting
-rw-r--r--src/dialogs/ImageOverlay.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dialogs/ImageOverlay.cpp b/src/dialogs/ImageOverlay.cpp
index 50cc5564..12813d57 100644
--- a/src/dialogs/ImageOverlay.cpp
+++ b/src/dialogs/ImageOverlay.cpp
@@ -30,10 +30,9 @@ ImageOverlay::ImageOverlay(QPixmap image, QWidget *parent)
         setWindowState(Qt::WindowFullScreen);
         close_shortcut_ = new QShortcut(QKeySequence(Qt::Key_Escape), this);
 
-        connect(close_shortcut_, &QShortcut::activated, this,  &ImageOverlay::closing);
+        connect(close_shortcut_, &QShortcut::activated, this, &ImageOverlay::closing);
         connect(this, &ImageOverlay::closing, this, &ImageOverlay::close);
 
-
         raise();
 }