mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 10:40:42 +00:00
Zeo and Somnopose file dialogs fixed
This commit is contained in:
parent
069a2f405a
commit
7fd7d50d8a
@ -2224,7 +2224,7 @@ void MainWindow::on_actionImport_ZEO_Data_triggered()
|
||||
{
|
||||
QFileDialog w;
|
||||
w.setFileMode(QFileDialog::ExistingFiles);
|
||||
this->setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
w.setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
w.setOption(QFileDialog::ShowDirsOnly, false);
|
||||
w.setOption(QFileDialog::DontUseNativeDialog, true);
|
||||
w.setNameFilters(QStringList("Zeo CSV File (*.csv)"));
|
||||
@ -2308,7 +2308,7 @@ void MainWindow::on_actionImport_Somnopose_Data_triggered()
|
||||
{
|
||||
QFileDialog w;
|
||||
w.setFileMode(QFileDialog::ExistingFiles);
|
||||
this->setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
w.setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
w.setOption(QFileDialog::ShowDirsOnly, false);
|
||||
w.setOption(QFileDialog::DontUseNativeDialog, true);
|
||||
w.setNameFilters(QStringList("Somnopause CSV File (*.csv)"));
|
||||
|
Loading…
Reference in New Issue
Block a user