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.
remotes/origin/image-overlay-fix
Adasauce 5 years ago
parent 284fc8eaa8
commit 95c2525218
Signed by: adasauce
GPG Key ID: B4FD3151235211CB
  1. 1
      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()));

Loading…
Cancel
Save