processEvents before starting autodetection.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17600 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2008-05-21 22:27:48 +00:00
parent 23744fe314
commit 1692d9b996

View file

@ -483,6 +483,7 @@ void Config::autodetect()
// disable tree during detection as "working" feedback.
// TODO: replace the tree view with a splash screen during this time.
ui.treeDevices->setEnabled(false);
QCoreApplication::processEvents();
if(detector.detect()) //let it detect
{