pull/679/head
kirp 3 years ago
parent c7295d7fd1
commit 5335e043e7
No known key found for this signature in database
GPG Key ID: E0277EFCA43284BE
  1. 3
      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();
}

Loading…
Cancel
Save