Diffstat (limited to 'noncore/net/networksetup/mainwindowimp.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/networksetup/mainwindowimp.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/noncore/net/networksetup/mainwindowimp.cpp b/noncore/net/networksetup/mainwindowimp.cpp index 3c0af6a..9f07f0d 100644 --- a/noncore/net/networksetup/mainwindowimp.cpp +++ b/noncore/net/networksetup/mainwindowimp.cpp @@ -230,3 +230,3 @@ void MainWindowImp::configureClicked(){ if(i->getModuleOwner()){
- i->getModuleOwner()->setProfile(currentProfileLabel->text());
+ i->getModuleOwner()->setProfile(currentProfile);
QTabWidget *tabWidget = NULL;
@@ -236,3 +236,3 @@ void MainWindowImp::configureClicked(){ InterfaceSetupImp *configure = new InterfaceSetupImp(tabWidget, "InterfaceSetupImp", i, true);
- configure->setProfile(currentProfileLabel->text());
+ configure->setProfile(currentProfile);
tabWidget->insertTab(configure, "TCP/IP");
@@ -247,3 +247,3 @@ void MainWindowImp::configureClicked(){ InterfaceSetupImp *configure = new InterfaceSetupImp(0, "InterfaceSetupImp", i, true);
- configure->setProfile(currentProfileLabel->text());
+ configure->setProfile(currentProfile);
configure->showMaximized();
@@ -379,2 +379,3 @@ void MainWindowImp::jobDone(KProcess *process){ if(!found){
+ if(!(*ni).contains("_")){
Interface *i = new Interface(this, *ni, false);
@@ -389,2 +390,3 @@ void MainWindowImp::jobDone(KProcess *process){ }
+}
@@ -491,2 +493,5 @@ void MainWindowImp::removeProfile(){ }
+
+ // Remove any interface settings and mappings.
+ //TODO
}
@@ -505,2 +510,3 @@ void MainWindowImp::changeProfile(){ currentProfileLabel->setText(newProfile);
+ QFile::remove(SCHEME);
QFile file(SCHEME);
|