summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opienet/omanufacturerdb.cpp15
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
@@ -31,6 +31,11 @@
31#include "omanufacturerdb.h" 31#include "omanufacturerdb.h"
32 32
33/* OPIE CORE */ 33#define OPIE_IMPROVE_GUI_LATENCY 1
34
35/* OPIE */
34#include <opie2/odebug.h> 36#include <opie2/odebug.h>
37#ifdef OPIE_IMPROVE_GUI_LATENCY
38#include <qpe/global.h>
39#endif
35 40
36/* QT */ 41/* QT */
@@ -40,6 +45,4 @@
40#include <qtextstream.h> 45#include <qtextstream.h>
41 46
42#define OPIE_IMPROVE_GUI_LATENCY 1
43
44OManufacturerDB* OManufacturerDB::_instance = 0; 47OManufacturerDB* OManufacturerDB::_instance = 0;
45 48
@@ -57,4 +60,7 @@ OManufacturerDB* OManufacturerDB::instance()
57OManufacturerDB::OManufacturerDB() 60OManufacturerDB::OManufacturerDB()
58{ 61{
62 #ifdef OPIE_IMPROVE_GUI_LATENCY
63 Global::statusMessage( "Reading Manufacturers..." );
64 #endif
59 QString filename( "/etc/manufacturers" ); 65 QString filename( "/etc/manufacturers" );
60 odebug << "OManufacturerDB: trying to read " << filename << oendl; 66 odebug << "OManufacturerDB: trying to read " << filename << oendl;
@@ -105,4 +111,7 @@ OManufacturerDB::OManufacturerDB()
105 } 111 }
106 odebug << "OManufacturerDB: manufacturer list completed." << oendl; 112 odebug << "OManufacturerDB: manufacturer list completed." << oendl;
113 #ifdef OPIE_IMPROVE_GUI_LATENCY
114 Global::statusMessage( "Manufacturers Complete..." );
115 #endif
107 } 116 }
108} 117}