Merge pull request #3383 from Programatic/warning_fix

UI: Fix compiler warning about needing parenthesis
master
Jim 2020-09-03 07:44:24 -07:00 committed by GitHub
commit a66a8da093
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

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