mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-22 21:28:32 -05:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user