summaryrefslogtreecommitdiff
path: root/libopie2
Side-by-side diff
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
@@ -36,2 +36,3 @@
/* QT */
+#include <qapplication.h>
#include <qstring.h>
@@ -40,2 +41,4 @@
+#define OPIE_IMPROVE_GUI_LATENCY 1
+
OManufacturerDB* OManufacturerDB::_instance = 0;
@@ -90,2 +93,5 @@ OManufacturerDB::OManufacturerDB()
odebug << "OmanufacturerDB: parse '" << addr << "' as '" << manu << "' (" << extManu << ")" << oendl;
+ #ifdef OPIE_IMPROVE_GUI_LATENCY
+ if ( qApp ) qApp->processEvents();
+ #endif
}