summary refs log tree commit diff
path: root/src/timeline/widgets/ImageItem.cpp
diff options
context:
space:
mode:
authorredsky17 <rubberduckie3554@gmail.com>2019-01-30 18:01:36 -0500
committerredsky17 <rubberduckie3554@gmail.com>2019-01-30 18:01:36 -0500
commit6d629f1c908d46cf2b22473ecd0039a8029d8cde (patch)
treea49c7e7936ecd1d093d2b3399a7a21021c5e1279 /src/timeline/widgets/ImageItem.cpp
parentRestore Emoji Picker, but remove forcing EmojiOne (diff)
downloadnheko-6d629f1c908d46cf2b22473ecd0039a8029d8cde.tar.xz
Add download button to ImageOverlay
When opening images in the full-screen overlay, there is now
a download button next to the close button.  This button utilizes
the same functionality as the right-click->save image button.
Diffstat (limited to 'src/timeline/widgets/ImageItem.cpp')
-rw-r--r--src/timeline/widgets/ImageItem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/timeline/widgets/ImageItem.cpp b/src/timeline/widgets/ImageItem.cpp

index f06b9a5b..4ee9e42a 100644 --- a/src/timeline/widgets/ImageItem.cpp +++ b/src/timeline/widgets/ImageItem.cpp
@@ -158,6 +158,7 @@ ImageItem::mousePressEvent(QMouseEvent *event) } else { auto imgDialog = new dialogs::ImageOverlay(image_); imgDialog->show(); + connect(imgDialog, &dialogs::ImageOverlay::saving, this, &ImageItem::saveAs); } }