summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/curve-config.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-01-05 12:55:11 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-01-05 12:55:11 +0100
commitbbe8552db3fb0d7ab2c3a26b058c059e5df21eeb (patch)
tree2a93655c493cf0a7b7486ad7534fc3ba6068d29e /facetracknoir/curve-config.cpp
parent359fec379f1618766d7f39be12f3b48b0d771c69 (diff)
decruft
Diffstat (limited to 'facetracknoir/curve-config.cpp')
-rw-r--r--facetracknoir/curve-config.cpp22
1 files changed, 1 insertions, 21 deletions
diff --git a/facetracknoir/curve-config.cpp b/facetracknoir/curve-config.cpp
index d730e4f7..b01c2013 100644
--- a/facetracknoir/curve-config.cpp
+++ b/facetracknoir/curve-config.cpp
@@ -43,29 +43,11 @@ CurveConfigurationDialog::CurveConfigurationDialog(FaceTrackNoIR *ftnoir, QWidge
loadSettings();
}
-//
-// Destructor for server-dialog
-//
-CurveConfigurationDialog::~CurveConfigurationDialog() {
- qDebug() << "~CurveConfigurationDialog() says: started";
-}
-
-//
-// OK clicked on server-dialog
-//
void CurveConfigurationDialog::doOK() {
save();
this->close();
}
-// override show event
-void CurveConfigurationDialog::showEvent ( QShowEvent * ) {
- loadSettings();
-}
-
-//
-// Cancel clicked on server-dialog
-//
void CurveConfigurationDialog::doCancel() {
//
// Ask if changed Settings should be saved
@@ -73,9 +55,7 @@ void CurveConfigurationDialog::doCancel() {
if (settingsDirty || mainApp->s.b->modifiedp()) {
int ret = QMessageBox::question ( this, "Settings have changed", "Do you want to save the settings?", QMessageBox::Save | QMessageBox::Discard | QMessageBox::Cancel, QMessageBox::Discard );
- qDebug() << "doCancel says: answer =" << ret;
-
- switch (ret) {
+ switch (ret) {
case QMessageBox::Save:
save();
this->close();