From db7c5730e22188f365eb9d52aed961066fbda026 Mon Sep 17 00:00:00 2001 From: tille Date: Wed, 18 Jun 2003 13:50:44 +0000 Subject: single dns gets loaded now --- (limited to 'noncore') diff --git a/noncore/settings/networksettings/interfaces/interfacesetupimp.cpp b/noncore/settings/networksettings/interfaces/interfacesetupimp.cpp index 8de30de..f19cbdd 100644 --- a/noncore/settings/networksettings/interfaces/interfacesetupimp.cpp +++ b/noncore/settings/networksettings/interfaces/interfacesetupimp.cpp @@ -183,7 +183,8 @@ void InterfaceSetupImp::setProfile(const QString &profile){ if(dns.contains(" ")){ firstDNSLineEdit->setText(dns.mid(0, dns.find(" "))); secondDNSLineEdit->setText(dns.mid(dns.find(" ")+1, dns.length())); - } + }else firstDNSLineEdit->setText(dns); + ipAddressEdit->setText(interfaces->getInterfaceOption("address", error)); subnetMaskEdit->setText(interfaces->getInterfaceOption("netmask", error)); gatewayEdit->setText(interfaces->getInterfaceOption("gateway", error)); -- cgit v0.9.0.2