|
@@ -85,7 +85,7 @@ static OBSPlainTextEdit *scriptLogWidget = nullptr;
|
|
|
|
|
|
/* ----------------------------------------------------------------- */
|
|
/* ----------------------------------------------------------------- */
|
|
|
|
|
|
-ScriptLogWindow::ScriptLogWindow() : QWidget(nullptr)
|
|
|
|
|
|
+ScriptLogWindow::ScriptLogWindow() : QDialog(nullptr)
|
|
{
|
|
{
|
|
OBSPlainTextEdit *edit = new OBSPlainTextEdit();
|
|
OBSPlainTextEdit *edit = new OBSPlainTextEdit();
|
|
edit->setReadOnly(true);
|
|
edit->setReadOnly(true);
|
|
@@ -109,6 +109,8 @@ ScriptLogWindow::ScriptLogWindow() : QWidget(nullptr)
|
|
setLayout(layout);
|
|
setLayout(layout);
|
|
scriptLogWidget = edit;
|
|
scriptLogWidget = edit;
|
|
|
|
|
|
|
|
+ setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
|
|
|
+
|
|
resize(600, 400);
|
|
resize(600, 400);
|
|
|
|
|
|
config_t *global_config = obs_frontend_get_global_config();
|
|
config_t *global_config = obs_frontend_get_global_config();
|
|
@@ -179,8 +181,10 @@ void ScriptLogWindow::Clear()
|
|
|
|
|
|
/* ----------------------------------------------------------------- */
|
|
/* ----------------------------------------------------------------- */
|
|
|
|
|
|
-ScriptsTool::ScriptsTool() : QWidget(nullptr), ui(new Ui_ScriptsTool)
|
|
|
|
|
|
+ScriptsTool::ScriptsTool() : QDialog(nullptr), ui(new Ui_ScriptsTool)
|
|
{
|
|
{
|
|
|
|
+ setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
|
|
|
+
|
|
ui->setupUi(this);
|
|
ui->setupUi(this);
|
|
RefreshLists();
|
|
RefreshLists();
|
|
|
|
|