summaryrefslogtreecommitdiff
path: root/noncore
authorschurig <schurig>2003-06-13 10:49:17 (UTC)
committer schurig <schurig>2003-06-13 10:49:17 (UTC)
commitc48af71638614aaff280178693448916e0e98102 (patch) (unidiff)
tree127db502aedb7411dd68e0a49861018e1b09d262 /noncore
parent60ba51b33a060dde352caa678f2e337f5f5590f5 (diff)
downloadopie-c48af71638614aaff280178693448916e0e98102.zip
opie-c48af71638614aaff280178693448916e0e98102.tar.gz
opie-c48af71638614aaff280178693448916e0e98102.tar.bz2
little simplificatin -> less code size
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/interfaces/interfaces.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/noncore/settings/networksettings/interfaces/interfaces.cpp b/noncore/settings/networksettings/interfaces/interfaces.cpp
index 8d3e151..a62a90c 100644
--- a/noncore/settings/networksettings/interfaces/interfaces.cpp
+++ b/noncore/settings/networksettings/interfaces/interfaces.cpp
@@ -25,3 +25,3 @@ Interfaces::Interfaces(QString useInterfacesFile){
25 if (!file.open(IO_ReadOnly)){ 25 if (!file.open(IO_ReadOnly)){
26 qDebug(QString("Interfaces: Can't open file: %1 for reading.").arg(interfacesFile).latin1()); 26 qDebug("Interfaces: Can't open file: %s for reading.", interfacesFile.latin1() );
27 currentIface = interfaces.end(); 27 currentIface = interfaces.end();
@@ -69,3 +69,3 @@ QStringList Interfaces::getInterfaceList(){
69 * Find out if interface is in an "auto" group or not. 69 * Find out if interface is in an "auto" group or not.
70 * Report any duplicates such as eth0 being in two differnt auto's 70 * Report any duplicates such as eth0 being in two differnt auto's
71 * @param interface interface to check to see if it is on or not. 71 * @param interface interface to check to see if it is on or not.
@@ -78,5 +78,3 @@ bool Interfaces::isAuto(const QString &interface) const {
78 qDebug(QString("Interfaces: Found more then auto group with interface: %1.").arg(interface).latin1()); 78 qDebug(QString("Interfaces: Found more then auto group with interface: %1.").arg(interface).latin1());
79 if(awi.count() < 1) 79 return awi.count() > 0;
80 return false;
81 return true;
82} 80}