summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-04-30 13:00:11 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-04-30 13:00:11 +0300
commite6fd80f87f31d15c2a1ec73a22ba3e76647151f0 (patch)
tree91c92edd84bf6e6c8e137ef766e383845aedb6fc /include
parentClose fullscreen overlay with out of contents click (diff)
downloadnheko-e6fd80f87f31d15c2a1ec73a22ba3e76647151f0.tar.xz
Fix MainWindow being out of focus when the fullscreen overlay is closed
That was probably a Linux specific issue or my mouse is buggy.
Diffstat (limited to 'include')
-rw-r--r--include/ImageOverlayDialog.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ImageOverlayDialog.h b/include/ImageOverlayDialog.h

index 21f59d12..e9eed0c1 100644 --- a/include/ImageOverlayDialog.h +++ b/include/ImageOverlayDialog.h
@@ -32,6 +32,12 @@ protected: void mousePressEvent(QMouseEvent *event) override; void paintEvent(QPaintEvent *event) override; +signals: + void closing(); + +private slots: + void closeDialog(); + private: void scaleImage(int width, int height);