diff options
-rw-r--r-- | rbutil/rbutilqt/configure.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/configure.cpp b/rbutil/rbutilqt/configure.cpp index 9b6376e469..0ace229ee5 100644 --- a/rbutil/rbutilqt/configure.cpp +++ b/rbutil/rbutilqt/configure.cpp @@ -98,6 +98,9 @@ Config::Config(QWidget *parent,int index) : QDialog(parent) connect(ui.treeDevices, SIGNAL(itemSelectionChanged()), this, SLOT(updateEncState())); connect(ui.testTTS,SIGNAL(clicked()),this,SLOT(testTts())); connect(ui.showDisabled, SIGNAL(toggled(bool)), this, SLOT(showDisabled(bool))); + // delete this dialog after it finished automatically. + connect(this, SIGNAL(finished(int)), this, SLOT(deleteLater())); + setUserSettings(); setDevices(); } |