Merge pull request #835 from Thulinma/imagewindowrole

Added window role to image overlay
pull/841/head
DeepBlueV7.X 3 years ago committed by GitHub
commit 0a3e647509
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/dialogs/ImageOverlay.cpp

@ -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…
Cancel
Save