Merge pull request #3383 from Programatic/warning_fix
UI: Fix compiler warning about needing parenthesismaster
commit
a66a8da093
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue