diff options
author | kirp <kirp@dismail.de> | 2021-08-11 02:29:36 +0300 |
---|---|---|
committer | kirp <kirp@dismail.de> | 2021-08-11 02:29:36 +0300 |
commit | 5335e043e76e13b8b101eee7be1f39e444548543 (patch) | |
tree | 6d610c2dfccd78897817d317b548403595941ae2 | |
parent | change slot close, to signal closing (diff) | |
download | nheko-5335e043e76e13b8b101eee7be1f39e444548543.tar.xz |
linting
-rw-r--r-- | src/dialogs/ImageOverlay.cpp | 3 |
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(); } |