author | tille <tille> | 2003-06-21 15:34:55 (UTC) |
---|---|---|
committer | tille <tille> | 2003-06-21 15:34:55 (UTC) |
commit | 5f5accf337a109371296c6a78175734454165406 (patch) (side-by-side diff) | |
tree | 7c4334febdedcd8c0b42a2296af6875f6f990762 /noncore/settings/networksettings/interfaces | |
parent | fde32755685bec14851f943be337e94675caf0c4 (diff) | |
download | opie-5f5accf337a109371296c6a78175734454165406.zip opie-5f5accf337a109371296c6a78175734454165406.tar.gz opie-5f5accf337a109371296c6a78175734454165406.tar.bz2 |
channel count for wellenreiter
Diffstat (limited to 'noncore/settings/networksettings/interfaces') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/interfaces/interfaces.cpp | 0 | ||||
-rw-r--r-- | noncore/settings/networksettings/interfaces/interfacesetupimp.cpp | 2 |
2 files changed, 2 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/interfaces/interfaces.cpp b/noncore/settings/networksettings/interfaces/interfaces.cpp index a62a90c..71d0cf5 100644 --- a/noncore/settings/networksettings/interfaces/interfaces.cpp +++ b/noncore/settings/networksettings/interfaces/interfaces.cpp diff --git a/noncore/settings/networksettings/interfaces/interfacesetupimp.cpp b/noncore/settings/networksettings/interfaces/interfacesetupimp.cpp index f19cbdd..b40d101 100644 --- a/noncore/settings/networksettings/interfaces/interfacesetupimp.cpp +++ b/noncore/settings/networksettings/interfaces/interfacesetupimp.cpp @@ -187,6 +187,8 @@ void InterfaceSetupImp::setProfile(const QString &profile){ ipAddressEdit->setText(interfaces->getInterfaceOption("address", error)); subnetMaskEdit->setText(interfaces->getInterfaceOption("netmask", error)); + if (subnetMaskEdit->text().isEmpty()) + subnetMaskEdit->setText( "255.255.255.0" ); gatewayEdit->setText(interfaces->getInterfaceOption("gateway", error)); |