Remove useless capture
This commit is contained in:
parent
4a6e62d1ee
commit
1d80f5d0b4
|
@ -396,8 +396,7 @@ TimelineViewManager::openImageOverlayInternal(QString eventId, QImage img)
|
||||||
imgDialog->showFullScreen();
|
imgDialog->showFullScreen();
|
||||||
|
|
||||||
auto room = rooms_->currentRoom();
|
auto room = rooms_->currentRoom();
|
||||||
connect(
|
connect(imgDialog, &dialogs::ImageOverlay::saving, room, [eventId, imgDialog, room]() {
|
||||||
imgDialog, &dialogs::ImageOverlay::saving, room, [this, eventId, imgDialog, room]() {
|
|
||||||
// hide the overlay while presenting the save dialog for better
|
// hide the overlay while presenting the save dialog for better
|
||||||
// cross platform support.
|
// cross platform support.
|
||||||
imgDialog->hide();
|
imgDialog->hide();
|
||||||
|
|
Loading…
Reference in New Issue