Diffstat (limited to 'libopie2/opienet/omanufacturerdb.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opienet/omanufacturerdb.cpp | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/libopie2/opienet/omanufacturerdb.cpp b/libopie2/opienet/omanufacturerdb.cpp index f61270b..2da549c 100644 --- a/libopie2/opienet/omanufacturerdb.cpp +++ b/libopie2/opienet/omanufacturerdb.cpp @@ -32,4 +32,9 @@ -/* OPIE CORE */ +#define OPIE_IMPROVE_GUI_LATENCY 1 + +/* OPIE */ #include <opie2/odebug.h> +#ifdef OPIE_IMPROVE_GUI_LATENCY +#include <qpe/global.h> +#endif @@ -41,4 +46,2 @@ -#define OPIE_IMPROVE_GUI_LATENCY 1 - OManufacturerDB* OManufacturerDB::_instance = 0; @@ -58,2 +61,5 @@ OManufacturerDB::OManufacturerDB() { + #ifdef OPIE_IMPROVE_GUI_LATENCY + Global::statusMessage( "Reading Manufacturers..." ); + #endif QString filename( "/etc/manufacturers" ); @@ -106,2 +112,5 @@ OManufacturerDB::OManufacturerDB() odebug << "OManufacturerDB: manufacturer list completed." << oendl; + #ifdef OPIE_IMPROVE_GUI_LATENCY + Global::statusMessage( "Manufacturers Complete..." ); + #endif } |