Merge pull request #1589 from caffeinetv/minor-improvements
Minor improvements
This commit is contained in:
commit
b2bc1e159b
4 changed files with 88 additions and 54 deletions
|
|
@ -4970,6 +4970,9 @@ void OBSBasic::StartStreaming()
|
|||
}
|
||||
|
||||
if (!outputHandler->StartStreaming(service)) {
|
||||
QString message = !outputHandler->lastError.empty()
|
||||
? QTStr(outputHandler->lastError.c_str())
|
||||
: QTStr("Output.StartFailedGeneric");
|
||||
ui->streamButton->setText(QTStr("Basic.Main.StartStreaming"));
|
||||
ui->streamButton->setEnabled(true);
|
||||
ui->streamButton->setChecked(false);
|
||||
|
|
@ -4979,9 +4982,8 @@ void OBSBasic::StartStreaming()
|
|||
sysTrayStream->setEnabled(true);
|
||||
}
|
||||
|
||||
QMessageBox::critical(this,
|
||||
QTStr("Output.StartStreamFailed"),
|
||||
QTStr("Output.StartFailedGeneric"));
|
||||
QMessageBox::critical(this, QTStr("Output.StartStreamFailed"),
|
||||
message);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue