mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-19 09:41:32 +08:00
UI, libobs, obs-plugins: Fix compiler warnings
Found warnings when compiling OBS.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user