forked from len0rd/rockbox
disable device tree during autodetection to give some (small) visual feedback.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17599 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
03de6c67ab
commit
23744fe314
1 changed files with 4 additions and 0 deletions
|
@ -480,6 +480,9 @@ void Config::autodetect()
|
|||
{
|
||||
Autodetection detector(this);
|
||||
detector.setSettings(settings);
|
||||
// disable tree during detection as "working" feedback.
|
||||
// TODO: replace the tree view with a splash screen during this time.
|
||||
ui.treeDevices->setEnabled(false);
|
||||
|
||||
if(detector.detect()) //let it detect
|
||||
{
|
||||
|
@ -557,6 +560,7 @@ void Config::autodetect()
|
|||
QMessageBox::Ok ,QMessageBox::Ok);
|
||||
|
||||
}
|
||||
ui.treeDevices->setEnabled(true);
|
||||
}
|
||||
|
||||
void Config::cacheClear()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue