summaryrefslogtreecommitdiff
path: root/libopie2
authormickeyl <mickeyl>2003-12-09 19:24:10 (UTC)
committer mickeyl <mickeyl>2003-12-09 19:24:10 (UTC)
commit1642df2b072858b5eec9ad007a23475cc5270bfe (patch) (unidiff)
tree91980bac6b047aeedb82b6d0b4c9772f5fc5c8b2 /libopie2
parent26fde0e3b94659ea9c296afc80c7f873467267e8 (diff)
downloadopie-1642df2b072858b5eec9ad007a23475cc5270bfe.zip
opie-1642df2b072858b5eec9ad007a23475cc5270bfe.tar.gz
opie-1642df2b072858b5eec9ad007a23475cc5270bfe.tar.bz2
allow processing of events during the loading of the db
Diffstat (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opienet/omanufacturerdb.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/libopie2/opienet/omanufacturerdb.cpp b/libopie2/opienet/omanufacturerdb.cpp
index 006ae72..595633d 100644
--- a/libopie2/opienet/omanufacturerdb.cpp
+++ b/libopie2/opienet/omanufacturerdb.cpp
@@ -34,10 +34,13 @@
34#include <opie2/odebug.h> 34#include <opie2/odebug.h>
35 35
36/* QT */ 36/* QT */
37#include <qapplication.h>
37#include <qstring.h> 38#include <qstring.h>
38#include <qfile.h> 39#include <qfile.h>
39#include <qtextstream.h> 40#include <qtextstream.h>
40 41
42#define OPIE_IMPROVE_GUI_LATENCY 1
43
41OManufacturerDB* OManufacturerDB::_instance = 0; 44OManufacturerDB* OManufacturerDB::_instance = 0;
42 45
43OManufacturerDB* OManufacturerDB::instance() 46OManufacturerDB* OManufacturerDB::instance()
@@ -88,6 +91,9 @@ OManufacturerDB::OManufacturerDB()
88 manufacturers.insert( addr, manu ); 91 manufacturers.insert( addr, manu );
89 manufacturersExt.insert( addr, extManu ); 92 manufacturersExt.insert( addr, extManu );
90 odebug << "OmanufacturerDB: parse '" << addr << "' as '" << manu << "' (" << extManu << ")" << oendl; 93 odebug << "OmanufacturerDB: parse '" << addr << "' as '" << manu << "' (" << extManu << ")" << oendl;
94 #ifdef OPIE_IMPROVE_GUI_LATENCY
95 if ( qApp ) qApp->processEvents();
96 #endif
91 } 97 }
92 } 98 }
93} 99}