diff options
author | Nicolás Alvarez <nicolas.alvarez@gmail.com> | 2013-11-23 15:11:35 -0300 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-23 19:59:24 +0100 |
commit | 4431a4d030b10b83817ba502b27c2f1d1a6cd8c9 (patch) | |
tree | 0fd7b6674cb2e9900451f3b08e510fe68d9ee891 | |
parent | 7317f4440a9af01feac7758afff8f98e9150dd62 (diff) |
Fix disableBlurBehindWindow(QWidget*)v5.2.0-rc1
The functions to handle blur-behind on QWidgets are inline wrappers that
call the functions taking QWindow. disableBlurBehindWindow(QWidget*)
was calling the *enable* function for QWindow* instead of the disable
function. In other words, disableBlurBehindWindow was enabling blur-behind
instead of disabling it.
Change-Id: I02cc4b0ad956afe2d81fc5f7783986b799bd9cd2
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
-rw-r--r-- | src/winextras/qwinfunctions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/winextras/qwinfunctions.h b/src/winextras/qwinfunctions.h index f7db203..bfa14d1 100644 --- a/src/winextras/qwinfunctions.h +++ b/src/winextras/qwinfunctions.h @@ -198,7 +198,7 @@ namespace QtWin inline void disableBlurBehindWindow(QWidget *window) { if (window->windowHandle()) - enableBlurBehindWindow(window->windowHandle()); + disableBlurBehindWindow(window->windowHandle()); } inline void markFullscreenWindow(QWidget *window, bool fullscreen = true) |