mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
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:
parent
284fc8eaa8
commit
95c2525218
1 changed files with 0 additions and 1 deletions
|
@ -43,7 +43,6 @@ ImageOverlay::ImageOverlay(QPixmap image, QWidget *parent)
|
||||||
|
|
||||||
screen_ = QGuiApplication::primaryScreen()->availableGeometry();
|
screen_ = QGuiApplication::primaryScreen()->availableGeometry();
|
||||||
|
|
||||||
move(QApplication::desktop()->mapToGlobal(screen_.topLeft()));
|
|
||||||
resize(screen_.size());
|
resize(screen_.size());
|
||||||
|
|
||||||
connect(this, SIGNAL(closing()), this, SLOT(close()));
|
connect(this, SIGNAL(closing()), this, SLOT(close()));
|
||||||
|
|
Loading…
Reference in a new issue