UI: Remove additional unused help icons

This commit is contained in:
Richard Stanway 2019-02-12 12:55:31 +01:00
parent 55cee6ca0a
commit 43fbefb9ef
7 changed files with 10 additions and 0 deletions

View File

@ -14,6 +14,8 @@ OBSAbout::OBSAbout(QWidget *parent)
setFixedSize(size());
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
QString bitness;
if(sizeof(void*) == 4)

View File

@ -89,6 +89,7 @@ OBSBasicAdvAudio::OBSBasicAdvAudio(QWidget *parent)
resize(1000, 340);
setWindowTitle(QTStr("Basic.AdvAudio"));
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
setSizeGripEnabled(true);
setWindowModality(Qt::NonModal);
setAttribute(Qt::WA_DeleteOnClose, true);

View File

@ -732,6 +732,7 @@ AutoConfig::AutoConfig(QWidget *parent)
setPage(StreamPage, streamPage);
setPage(TestPage, new AutoConfigTestPage());
setWindowTitle(QTStr("Basic.AutoConfig"));
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
obs_video_info ovi;
obs_get_video_info(&ovi);

View File

@ -71,6 +71,7 @@ OBSBasicFilters::OBSBasicFilters(QWidget *parent, OBSSource source_)
const char *name = obs_source_get_name(source);
setWindowTitle(QTStr("Basic.Filters.Title").arg(QT_UTF8(name)));
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
#ifndef QT_NO_SHORTCUT
ui->actionRemoveFilter->setShortcut(QApplication::translate("OBSBasicFilters", "Del", nullptr));

View File

@ -64,6 +64,8 @@ OBSBasicProperties::OBSBasicProperties(QWidget *parent, OBSSource source_)
else
resize(720, 580);
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
QMetaObject::connectSlotsByName(this);
/* The OBSData constructor increments the reference once */

View File

@ -282,6 +282,8 @@ OBSBasicSettings::OBSBasicSettings(QWidget *parent)
ui->setupUi(this);
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
main->EnableOutputs(false);
PopulateAACBitrates({ui->simpleOutputABitrate,

View File

@ -45,6 +45,7 @@ bool NameDialog::AskForName(QWidget *parent, const QString &title,
NameDialog dialog(parent);
dialog.setWindowTitle(title);
dialog.setWindowFlags(dialog.windowFlags() & ~Qt::WindowContextHelpButtonHint);
dialog.ui->label->setText(text);
dialog.ui->userText->setMaxLength(maxSize);
dialog.ui->userText->setText(placeHolder);