summary refs log tree commit diff
path: root/src/dialogs/ImageOverlay.cpp
diff options
context:
space:
mode:
authorAdasauce <adasauce@with.parts>2020-02-12 20:50:52 -0400
committerAdasauce <adasauce@with.parts>2020-02-12 20:50:52 -0400
commit95c25252180cd25a35a290948491fd9c2f899caf (patch)
tree407b2297526a367b02e2a098967f35252a85584c /src/dialogs/ImageOverlay.cpp
parentImprove styling of emote messages (diff)
downloadnheko-95c25252180cd25a35a290948491fd9c2f899caf.tar.xz
Remove move() in ImageOverlay
it was causing the full screen image overlay to appear on the "primary
display" vs. the actual display nheko is running on.

removing the move() call makes the overlay follow the window.
Diffstat (limited to 'src/dialogs/ImageOverlay.cpp')
-rw-r--r--src/dialogs/ImageOverlay.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dialogs/ImageOverlay.cpp b/src/dialogs/ImageOverlay.cpp

index a98c39c2..b1b7ea74 100644 --- a/src/dialogs/ImageOverlay.cpp +++ b/src/dialogs/ImageOverlay.cpp
@@ -43,7 +43,6 @@ ImageOverlay::ImageOverlay(QPixmap image, QWidget *parent) screen_ = QGuiApplication::primaryScreen()->availableGeometry(); - move(QApplication::desktop()->mapToGlobal(screen_.topLeft())); resize(screen_.size()); connect(this, SIGNAL(closing()), this, SLOT(close()));