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.
This commit is contained in:
Adasauce 2020-02-12 20:50:52 -04:00
parent 284fc8eaa8
commit 95c2525218
No known key found for this signature in database
GPG Key ID: B4FD3151235211CB
1 changed files with 0 additions and 1 deletions

View File

@ -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()));