mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Merge pull request #835 from Thulinma/imagewindowrole
Added window role to image overlay
This commit is contained in:
commit
0a3e647509
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ ImageOverlay::ImageOverlay(QPixmap image, QWidget *parent)
|
|||
setParent(nullptr);
|
||||
|
||||
setWindowFlags(windowFlags() | Qt::FramelessWindowHint);
|
||||
setWindowRole("imageoverlay");
|
||||
|
||||
setAttribute(Qt::WA_NoSystemBackground, true);
|
||||
setAttribute(Qt::WA_TranslucentBackground, true);
|
||||
|
|
Loading…
Reference in a new issue