Salome HOME
Further clean-up and minor fix on wrongly connected Qt signals.
[modules/paravis.git] / src / PVGUI / PVGUI_ParaViewSettingsPane.cxx
index ac9e5431d8e13899d4545a44bc1aa51ea6dad2aa..bd7e2611aaa5922ba094503ee82e970bf8499327 100644 (file)
@@ -128,8 +128,8 @@ PVGUI_ParaViewSettingsPane::PVGUI_ParaViewSettingsPane(QWidget *widgetParent)
     widget->setApplyChangesImmediately(false);
     widget->setView(NULL);
 
-    widget->connect(this, SIGNAL(accepted()), SLOT(apply()));
-    widget->connect(this, SIGNAL(rejected()), SLOT(reset()));
+//    widget->connect(this, SIGNAL(accepted()), SLOT(apply()));
+//    widget->connect(this, SIGNAL(rejected()), SLOT(reset()));
     this->connect(widget, SIGNAL(restartRequired()), SLOT(showRestartRequiredMessage()));
     vbox->addWidget(widget);
 
@@ -156,8 +156,8 @@ PVGUI_ParaViewSettingsPane::PVGUI_ParaViewSettingsPane(QWidget *widgetParent)
 //  this->connect(ui.buttonBox->button(QDialogButtonBox::RestoreDefaults), SIGNAL(clicked()),
 //                SLOT(onRestoreDefaults()));
 //  this->connect(ui.buttonBox, SIGNAL(clicked(QAbstractButton*)), SLOT(clicked(QAbstractButton*)));
-  this->connect(this, SIGNAL(accepted()), SLOT(onAccepted()));
-  this->connect(this, SIGNAL(rejected()), SLOT(onRejected()));
+//  this->connect(this, SIGNAL(accepted()), SLOT(onAccepted()));
+//  this->connect(this, SIGNAL(rejected()), SLOT(onRejected()));
   this->connect(ui.tabBar, SIGNAL(currentChanged(int)), this, SLOT(onTabIndexChanged(int)));
 
   this->connect(ui.SearchBox, SIGNAL(advancedSearchActivated(bool)), SLOT(filterPanelWidgets()));