diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-05-21 22:03:37 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-05-21 22:03:37 +0000 |
commit | 23744fe31484093845fada9667c4dadc2c338e5c (patch) | |
tree | cb1f5c8c1a84b9a2d5f4d5eefc02cf17da007967 /rbutil/rbutilqt | |
parent | 03de6c67abed0da759b247ef45785facf6445bd9 (diff) |
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
Diffstat (limited to 'rbutil/rbutilqt')
-rw-r--r-- | rbutil/rbutilqt/configure.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/configure.cpp b/rbutil/rbutilqt/configure.cpp index 350c923b08..769fae70b5 100644 --- a/rbutil/rbutilqt/configure.cpp +++ b/rbutil/rbutilqt/configure.cpp @@ -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() |