mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
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
This commit is contained in:
parent
1c635a8c3c
commit
86f70de809
1 changed files with 3 additions and 0 deletions
|
|
@ -98,6 +98,9 @@ Config::Config(QWidget *parent,int index) : QDialog(parent)
|
||||||
connect(ui.treeDevices, SIGNAL(itemSelectionChanged()), this, SLOT(updateEncState()));
|
connect(ui.treeDevices, SIGNAL(itemSelectionChanged()), this, SLOT(updateEncState()));
|
||||||
connect(ui.testTTS,SIGNAL(clicked()),this,SLOT(testTts()));
|
connect(ui.testTTS,SIGNAL(clicked()),this,SLOT(testTts()));
|
||||||
connect(ui.showDisabled, SIGNAL(toggled(bool)), this, SLOT(showDisabled(bool)));
|
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();
|
setUserSettings();
|
||||||
setDevices();
|
setDevices();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue