summary refs log tree commit diff
path: root/src/dialogs/ImageOverlay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs/ImageOverlay.cpp')
-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(); }