summary refs log tree commit diff
path: root/src/timeline/TimelineViewManager.cpp
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2020-02-13 17:34:28 +0100
committerGitHub <noreply@github.com>2020-02-13 17:34:28 +0100
commit3c54d60eae98cdb77989636925506af4988e8411 (patch)
tree92ed9b38c28987919c34ee6ca7fc1409ac3a6272 /src/timeline/TimelineViewManager.cpp
parentImprove styling of emote messages (diff)
parentshow image dialog fullscreen instead of resizing to the size of the first des... (diff)
downloadnheko-3c54d60eae98cdb77989636925506af4988e8411.tar.xz
Merge pull request #114 from adasauce/image-overlay-fix
Fix image overlay appearing on the wrong screen.

thanks adasauce!
Diffstat (limited to 'src/timeline/TimelineViewManager.cpp')
-rw-r--r--src/timeline/TimelineViewManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeline/TimelineViewManager.cpp b/src/timeline/TimelineViewManager.cpp

index 37c56217..2426d810 100644 --- a/src/timeline/TimelineViewManager.cpp +++ b/src/timeline/TimelineViewManager.cpp
@@ -158,7 +158,7 @@ TimelineViewManager::openImageOverlay(QString mxcUrl, QString eventId) const auto pixmap = QPixmap::fromImage(imgResponse->textureFactory()->image()); auto imgDialog = new dialogs::ImageOverlay(pixmap); - imgDialog->show(); + imgDialog->showFullScreen(); connect(imgDialog, &dialogs::ImageOverlay::saving, timeline_, [this, eventId]() { timeline_->saveMedia(eventId); });