Merge pull request #3383 from Programatic/warning_fix
UI: Fix compiler warning about needing parenthesis
This commit is contained in:
commit
a66a8da093
1 changed files with 3 additions and 3 deletions
|
|
@ -5332,9 +5332,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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue