author | benmeyer <benmeyer> | 2002-10-31 19:50:26 (UTC) |
---|---|---|
committer | benmeyer <benmeyer> | 2002-10-31 19:50:26 (UTC) |
commit | 6a5a109fd55590ff176b29ac8533d36d9d204a63 (patch) (side-by-side diff) | |
tree | 52aa9091b292d74efc2dbde48a70caa3bdca1eb0 | |
parent | 3c76157137de747176466df8c7ecb85105ab9d53 (diff) | |
download | opie-6a5a109fd55590ff176b29ac8533d36d9d204a63.zip opie-6a5a109fd55590ff176b29ac8533d36d9d204a63.tar.gz opie-6a5a109fd55590ff176b29ac8533d36d9d204a63.tar.bz2 |
Fixed DNS bug forgot to have a define
-rw-r--r-- | noncore/net/networksetup/interfaces/interfacesetupimp.cpp | 4 | ||||
-rw-r--r-- | noncore/settings/networksettings/interfaces/interfacesetupimp.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/noncore/net/networksetup/interfaces/interfacesetupimp.cpp b/noncore/net/networksetup/interfaces/interfacesetupimp.cpp index 6587d6f..550e909 100644 --- a/noncore/net/networksetup/interfaces/interfacesetupimp.cpp +++ b/noncore/net/networksetup/interfaces/interfacesetupimp.cpp @@ -60,5 +60,5 @@ bool InterfaceSetupImp::saveSettings(){ if(!dhcpCheckBox->isChecked() && (ipAddressEdit->text().isEmpty() || subnetMaskEdit->text().isEmpty())){ - QMessageBox::information(this, "Empy Fields.", "Please fill in address, subnet,\n and gateway entries.", "Ok"); + QMessageBox::information(this, "Not Saved.", "Please fill in address, subnet,\n and gateway entries.", "Ok"); return false; } @@ -137,5 +137,5 @@ void InterfaceSetupImp::setProfile(const QString &profile){ // IP Information autoStart->setChecked(interfaces->isAuto(interface->getInterfaceName())); - QString dns = interfaces->getInterfaceOption("up interfacednsscript -a", error); + QString dns = interfaces->getInterfaceOption("up "DNSSCRIPT" -a", error); if(dns.contains(" ")){ firstDNSLineEdit->setText(dns.mid(0, dns.find(" "))); diff --git a/noncore/settings/networksettings/interfaces/interfacesetupimp.cpp b/noncore/settings/networksettings/interfaces/interfacesetupimp.cpp index 6587d6f..550e909 100644 --- a/noncore/settings/networksettings/interfaces/interfacesetupimp.cpp +++ b/noncore/settings/networksettings/interfaces/interfacesetupimp.cpp @@ -60,5 +60,5 @@ bool InterfaceSetupImp::saveSettings(){ if(!dhcpCheckBox->isChecked() && (ipAddressEdit->text().isEmpty() || subnetMaskEdit->text().isEmpty())){ - QMessageBox::information(this, "Empy Fields.", "Please fill in address, subnet,\n and gateway entries.", "Ok"); + QMessageBox::information(this, "Not Saved.", "Please fill in address, subnet,\n and gateway entries.", "Ok"); return false; } @@ -137,5 +137,5 @@ void InterfaceSetupImp::setProfile(const QString &profile){ // IP Information autoStart->setChecked(interfaces->isAuto(interface->getInterfaceName())); - QString dns = interfaces->getInterfaceOption("up interfacednsscript -a", error); + QString dns = interfaces->getInterfaceOption("up "DNSSCRIPT" -a", error); if(dns.contains(" ")){ firstDNSLineEdit->setText(dns.mid(0, dns.find(" "))); |