UI, libobs, obs-plugins: Fix compiler warnings

Found warnings when compiling OBS.
This commit is contained in:
Clayton Groeneveld 2021-11-03 13:14:46 -05:00 • committed by Jim
commit af6c719139
7 changed files with 11 additions and 11 deletions

View file

@ -386,7 +386,7 @@ OBSBasic::OBSBasic(QWidget *parent)
// Register shortcuts for Undo/Redo
ui->actionMainUndo->setShortcut(Qt::CTRL + Qt::Key_Z);
QList<QKeySequence> shrt;
shrt << QKeySequence(Qt::CTRL | Qt::SHIFT + Qt::Key_Z)
shrt << QKeySequence((Qt::CTRL | Qt::SHIFT) + Qt::Key_Z)
<< QKeySequence(Qt::CTRL + Qt::Key_Y);
ui->actionMainRedo->setShortcuts(shrt);
@ -6329,7 +6329,7 @@ void OBSBasic::StartStreaming()
void OBSBasic::BroadcastButtonClicked()
{
if (!broadcastReady ||
!broadcastActive && !outputHandler->StreamingActive()) {
(!broadcastActive && !outputHandler->StreamingActive())) {
SetupBroadcast();
if (broadcastReady)
ui->broadcastButton->setChecked(true);