From: Flavio Tordini Date: Tue, 4 Aug 2015 17:18:30 +0000 (+0200) Subject: Fix window border on Qt5 X-Git-Tag: 2.5~43 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b3d021743b436f43cbeaf69ee47591e509973d2b;p=minitube Fix window border on Qt5 --- diff --git a/src/snapshotpreview.cpp b/src/snapshotpreview.cpp index 9766a20..5468f2a 100644 --- a/src/snapshotpreview.cpp +++ b/src/snapshotpreview.cpp @@ -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);