diff --git a/oscar/aboutdialog.cpp b/oscar/aboutdialog.cpp index 312b4c89..98394d6b 100644 --- a/oscar/aboutdialog.cpp +++ b/oscar/aboutdialog.cpp @@ -46,6 +46,7 @@ AboutDialog::AboutDialog(QWidget *parent) : setWindowTitle(tr("About OSCAR")); setMinimumSize(QSize(400,400)); + this->setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint); connect(ui->closeButton, SIGNAL(clicked(bool)), this, SLOT(accept())); int idx=AppSetting->showAboutDialog(); diff --git a/oscar/exportcsv.cpp b/oscar/exportcsv.cpp index 70163ba9..635922cc 100644 --- a/oscar/exportcsv.cpp +++ b/oscar/exportcsv.cpp @@ -26,6 +26,7 @@ ExportCSV::ExportCSV(QWidget *parent) : ui->setupUi(this); ui->rb1_Summary->setChecked(true); ui->quickRangeCombo->setCurrentIndex(0); + this->setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint); // Set Date controls locale to 4 digit years QLocale locale = QLocale::system(); diff --git a/oscar/mainwindow.cpp b/oscar/mainwindow.cpp index 29cc2032..2421bc28 100644 --- a/oscar/mainwindow.cpp +++ b/oscar/mainwindow.cpp @@ -2224,6 +2224,7 @@ void MainWindow::on_actionImport_ZEO_Data_triggered() { QFileDialog w; w.setFileMode(QFileDialog::ExistingFiles); + this->setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint); w.setOption(QFileDialog::ShowDirsOnly, false); w.setOption(QFileDialog::DontUseNativeDialog, true); w.setNameFilters(QStringList("Zeo CSV File (*.csv)")); @@ -2307,6 +2308,7 @@ void MainWindow::on_actionImport_Somnopose_Data_triggered() { QFileDialog w; w.setFileMode(QFileDialog::ExistingFiles); + this->setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint); w.setOption(QFileDialog::ShowDirsOnly, false); w.setOption(QFileDialog::DontUseNativeDialog, true); w.setNameFilters(QStringList("Somnopause CSV File (*.csv)")); diff --git a/oscar/oximeterimport.cpp b/oscar/oximeterimport.cpp index 7953539d..e08cf413 100644 --- a/oscar/oximeterimport.cpp +++ b/oscar/oximeterimport.cpp @@ -35,6 +35,7 @@ OximeterImport::OximeterImport(QWidget *parent) : { ui->setupUi(this); setWindowTitle(tr("Oximeter Import Wizard")); + this->setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint); ui->stackedWidget->setCurrentIndex(0); ui->retryButton->setVisible(false); ui->stopButton->setVisible(false);