UI: Fix compiler warning about needing parenthesis

It was the only thing blocking me from a clean and satisfying compile.
This commit is contained in:
Programatic 2020-09-01 12:47:52 -05:00
commit e1fd89a4e5

View file

@ -5319,9 +5319,9 @@ void OBSBasic::on_actionViewCurrentLog_triggered()
if (!logView->isVisible()) {
logView->setVisible(true);
} else {
logView->setWindowState(logView->windowState() &
~Qt::WindowMinimized |
Qt::WindowActive);
logView->setWindowState(
(logView->windowState() & ~Qt::WindowMinimized) |
Qt::WindowActive);
logView->activateWindow();
logView->raise();
}