summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2011-04-03 14:04:21 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2011-04-03 14:04:21 +0000
commit86f70de8099ba0211001c648d98363bfa6eeaabc (patch)
treeb1675f243870f7adee0464758f9721604c275b89
parent1c635a8c3c49c1c657b5c387d53086da5d6c08d3 (diff)
downloadrockbox-86f70de8099ba0211001c648d98363bfa6eeaabc.tar.gz
rockbox-86f70de8099ba0211001c648d98363bfa6eeaabc.zip
Properly remove the configuration dialog.
The configuration dialog isn't needed anymore once the finished() signal is emitted. In that case schedule it for deletion by the event loop. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29674 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--rbutil/rbutilqt/configure.cpp3
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)
98 connect(ui.treeDevices, SIGNAL(itemSelectionChanged()), this, SLOT(updateEncState())); 98 connect(ui.treeDevices, SIGNAL(itemSelectionChanged()), this, SLOT(updateEncState()));
99 connect(ui.testTTS,SIGNAL(clicked()),this,SLOT(testTts())); 99 connect(ui.testTTS,SIGNAL(clicked()),this,SLOT(testTts()));
100 connect(ui.showDisabled, SIGNAL(toggled(bool)), this, SLOT(showDisabled(bool))); 100 connect(ui.showDisabled, SIGNAL(toggled(bool)), this, SLOT(showDisabled(bool)));
101 // delete this dialog after it finished automatically.
102 connect(this, SIGNAL(finished(int)), this, SLOT(deleteLater()));
103
101 setUserSettings(); 104 setUserSettings();
102 setDevices(); 105 setDevices();
103} 106}