]> git.sur5r.net Git - minitube/commitdiff
Fix window border on Qt5
authorFlavio Tordini <flavio.tordini@gmail.com>
Tue, 4 Aug 2015 17:18:30 +0000 (19:18 +0200)
committerFlavio Tordini <flavio.tordini@gmail.com>
Tue, 4 Aug 2015 17:18:30 +0000 (19:18 +0200)
src/snapshotpreview.cpp

index 9766a2013010a11bd22b9075d51f4227c9c430ed..5468f2a08d35c258ea68bf8fe50ea403595e5b4e 100644 (file)
@@ -30,7 +30,7 @@ SnapshotPreview::SnapshotPreview(QWidget *parent) : QWidget(parent),
     setAttribute(Qt::WA_ShowWithoutActivating);
     setWindowFlags(Qt::FramelessWindowHint);
 #if QT_VERSION >= 0x050000
-    setWindowFlags(Qt::WindowDoesNotAcceptFocus);
+    setWindowFlags(windowFlags() | Qt::WindowDoesNotAcceptFocus);
 #endif
 
     setAttribute(Qt::WA_StaticContents);