1
0
Fork 0
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:
Dominik Riebeling 2008-05-21 22:03:37 +00:00
parent 03de6c67ab
commit 23744fe314

View file

@ -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()