summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2003-12-09 19:24:37 (UTC)
committer mickeyl <mickeyl>2003-12-09 19:24:37 (UTC)
commit04d6caa37743a1957b9ffa061a58a71a3909ea3d (patch) (unidiff)
tree04a692f57263d0573f2b2c704e4a6e1057aa7d40
parent1642df2b072858b5eec9ad007a23475cc5270bfe (diff)
downloadopie-04d6caa37743a1957b9ffa061a58a71a3909ea3d.zip
opie-04d6caa37743a1957b9ffa061a58a71a3909ea3d.tar.gz
opie-04d6caa37743a1957b9ffa061a58a71a3909ea3d.tar.bz2
preload the manufacturer library during startup (nice trick, btw.)
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/wellenreiter.cpp12
-rw-r--r--noncore/net/wellenreiter/gui/wellenreiter.h2
2 files changed, 14 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp
index 365efb0..1d4a98b 100644
--- a/noncore/net/wellenreiter/gui/wellenreiter.cpp
+++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp
@@ -40,2 +40,3 @@ using namespace Opie;
40#endif 40#endif
41#include <opie2/omanufacturerdb.h>
41#include <opie2/onetwork.h> 42#include <opie2/onetwork.h>
@@ -54,2 +55,3 @@ using namespace Opie;
54#include <qspinbox.h> 55#include <qspinbox.h>
56#include <qtimer.h>
55#include <qtoolbutton.h> 57#include <qtoolbutton.h>
@@ -90,2 +92,5 @@ Wellenreiter::Wellenreiter( QWidget* parent )
90 gps = new GPS( this ); 92 gps = new GPS( this );
93
94 QTimer::singleShot( 1000, this, SLOT( initialTimer() ) );
95
91} 96}
@@ -99,2 +104,9 @@ Wellenreiter::~Wellenreiter()
99 104
105void Wellenreiter::initialTimer()
106{
107 qDebug( "Wellenreiter::preloading manufacturer database..." );
108 OManufacturerDB::instance();
109}
110
111
100void Wellenreiter::setConfigWindow( WellenreiterConfigWindow* cw ) 112void Wellenreiter::setConfigWindow( WellenreiterConfigWindow* cw )
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.h b/noncore/net/wellenreiter/gui/wellenreiter.h
index 25a5e8d..d882500 100644
--- a/noncore/net/wellenreiter/gui/wellenreiter.h
+++ b/noncore/net/wellenreiter/gui/wellenreiter.h
@@ -61,2 +61,4 @@ class Wellenreiter : public WellenreiterBase {
61 public slots: 61 public slots:
62 void initialTimer();
63
62 void channelHopped(int); 64 void channelHopped(int);