Doc: Fix suggest parentheses GCC warning
Change-Id: I96cb76da7d260d08133830de72b0ff6e6a5099be Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
This commit is contained in:
parent
ee35954122
commit
65defa516d
@ -44,7 +44,7 @@ w->setWindowState(w->windowState() ^ Qt::WindowFullScreen);
|
||||
|
||||
|
||||
//! [1]
|
||||
w->setWindowState(w->windowState() & ~Qt::WindowMinimized | Qt::WindowActive);
|
||||
w->setWindowState((w->windowState() & ~Qt::WindowMinimized) | Qt::WindowActive);
|
||||
//! [1]
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user