summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2005-04-18 21:51:57 (UTC)
committer mickeyl <mickeyl>2005-04-18 21:51:57 (UTC)
commit0421a65ca6c21715b7268ef52679bdc14ab25c89 (patch) (unidiff)
tree243a5a4d9c390a349ebe5bd8ad69ac987c9a75a8
parent9e685cedc4425dd5ae60170e3f59a899c9e2bf36 (diff)
downloadopie-0421a65ca6c21715b7268ef52679bdc14ab25c89.zip
opie-0421a65ca6c21715b7268ef52679bdc14ab25c89.tar.gz
opie-0421a65ca6c21715b7268ef52679bdc14ab25c89.tar.bz2
relax WE matching test
set VERSION in .pro define WELLENREITER_VERSION through .pro
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/gui.pro3
-rw-r--r--noncore/net/wellenreiter/gui/wellenreiter.cpp3
-rw-r--r--noncore/net/wellenreiter/gui/wellenreiterbase.cpp4
3 files changed, 6 insertions, 4 deletions
diff --git a/noncore/net/wellenreiter/gui/gui.pro b/noncore/net/wellenreiter/gui/gui.pro
index 4ebac84..faedd1b 100644
--- a/noncore/net/wellenreiter/gui/gui.pro
+++ b/noncore/net/wellenreiter/gui/gui.pro
@@ -35,2 +35,5 @@ INTERFACES = configbase.ui
35TARGET = wellenreiter 35TARGET = wellenreiter
36VERSION = 1.0.5
37
38DEFINES += WELLENREITER_VERSION='"$$VERSION (GPL) Opie"'
36 39
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp
index 9fe463a..8cabf0d 100644
--- a/noncore/net/wellenreiter/gui/wellenreiter.cpp
+++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp
@@ -571,3 +571,4 @@ void Wellenreiter::startClicked()
571 // check if wireless extension version matches 571 // check if wireless extension version matches
572 if ( ONetwork::wirelessExtensionCompileVersion() != iface->wirelessExtensionDriverVersion() ) 572 if ( ONetwork::wirelessExtensionCompileVersion() != iface->wirelessExtensionDriverVersion()
573 && ( ONetwork::wirelessExtensionCompileVersion() <= 15 || iface->wirelessExtensionDriverVersion() <= 15 ) )
573 { 574 {
diff --git a/noncore/net/wellenreiter/gui/wellenreiterbase.cpp b/noncore/net/wellenreiter/gui/wellenreiterbase.cpp
index 0ca0bd7..1d5bd1b 100644
--- a/noncore/net/wellenreiter/gui/wellenreiterbase.cpp
+++ b/noncore/net/wellenreiter/gui/wellenreiterbase.cpp
@@ -35,4 +35,2 @@ using namespace Opie;
35 35
36#define WELLENREITER_VERSION "V1.0.3 (unofficial)"
37
38/* 36/*
@@ -113,3 +111,3 @@ WellenreiterBase::WellenreiterBase( QWidget* parent, const char* name, WFlags f
113 draw.setFont( QFont( "Fixed", 8 ) ); 111 draw.setFont( QFont( "Fixed", 8 ) );
114 draw.drawText( 30, 10, WELLENREITER_VERSION ); 112 draw.drawText( 5, 10, WELLENREITER_VERSION );
115 113