Diffstat (limited to 'noncore/settings/networksettings/mainwindowimp.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/mainwindowimp.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/noncore/settings/networksettings/mainwindowimp.cpp b/noncore/settings/networksettings/mainwindowimp.cpp index 117bac1..a446d29 100644 --- a/noncore/settings/networksettings/mainwindowimp.cpp +++ b/noncore/settings/networksettings/mainwindowimp.cpp | |||
@@ -310,3 +310,3 @@ void MainWindowImp::jobDone(KProcess *process){ | |||
310 | if(interfaceNames.find(interfaceName) == interfaceNames.end()){ | 310 | if(interfaceNames.find(interfaceName) == interfaceNames.end()){ |
311 | if(fileName == TEMP_ALL) | 311 | if(fileName == TEMP_ALL) |
312 | i = new Interface(this, interfaceName, false); | 312 | i = new Interface(this, interfaceName, false); |
@@ -330,5 +330,4 @@ void MainWindowImp::jobDone(KProcess *process){ | |||
330 | else{ | 330 | else{ |
331 | i = interfaceNames[interfaceName]; | ||
332 | if(fileName != TEMP_ALL) | 331 | if(fileName != TEMP_ALL) |
333 | i->setStatus(true); | 332 | (interfaceNames[interfaceName])->setStatus(true); |
334 | } | 333 | } |
@@ -400,3 +399,3 @@ void MainWindowImp::updateInterface(Interface *i){ | |||
400 | typeName = "usb"; | 399 | typeName = "usb"; |
401 | 400 | ||
402 | if(!i->isAttached()) | 401 | if(!i->isAttached()) |