Diffstat (limited to 'noncore/net/networksetup/interfacesetupimp.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/networksetup/interfacesetupimp.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/noncore/net/networksetup/interfacesetupimp.cpp b/noncore/net/networksetup/interfacesetupimp.cpp index 6a8449d..951aeee 100644 --- a/noncore/net/networksetup/interfacesetupimp.cpp +++ b/noncore/net/networksetup/interfacesetupimp.cpp | |||
@@ -13,7 +13,6 @@ | |||
13 | 13 | ||
14 | #include <assert.h> | 14 | #include <assert.h> |
15 | 15 | ||
16 | #define INTERFACE_FILE "/home/ben/interfaces" | ||
17 | #define DNSSCRIPT "interfacednsscript" | 16 | #define DNSSCRIPT "interfacednsscript" |
18 | 17 | ||
19 | /** | 18 | /** |
@@ -22,7 +21,7 @@ | |||
22 | InterfaceSetupImp::InterfaceSetupImp(QWidget* parent, const char* name, Interface *i, bool modal, WFlags fl) : InterfaceSetup(parent, name, modal, fl){ | 21 | InterfaceSetupImp::InterfaceSetupImp(QWidget* parent, const char* name, Interface *i, bool modal, WFlags fl) : InterfaceSetup(parent, name, modal, fl){ |
23 | assert(i); | 22 | assert(i); |
24 | interface = i; | 23 | interface = i; |
25 | interfaces = new Interfaces(INTERFACE_FILE); | 24 | interfaces = new Interfaces(); |
26 | changeProfile(profileCombo->currentText()); | 25 | changeProfile(profileCombo->currentText()); |
27 | bool error = false; | 26 | bool error = false; |
28 | if(interfaces->getInterfaceMethod(error) == INTERFACES_LOOPBACK){ | 27 | if(interfaces->getInterfaceMethod(error) == INTERFACES_LOOPBACK){ |