summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/mainwindowimp.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/noncore/settings/networksettings/mainwindowimp.cpp b/noncore/settings/networksettings/mainwindowimp.cpp
index 50131d8..7e24cda 100644
--- a/noncore/settings/networksettings/mainwindowimp.cpp
+++ b/noncore/settings/networksettings/mainwindowimp.cpp
@@ -193,4 +193,2 @@ void MainWindowImp::getAllInterfaces(){
- qWarning("ifr.ifr_name=%s\n", ifr.ifr_name);
-
struct ifreq ifcopy;
@@ -391,3 +389,8 @@ void MainWindowImp::configureClicked(){
+ QString currentProfileText = currentProfileLabel->text();
+ if(currentProfileText.upper() == "ALL");
+ currentProfileText = "";
+
Interface *i = interfaceItems[item];
+
if(i->getModuleOwner()){
@@ -395,2 +398,3 @@ void MainWindowImp::configureClicked(){
if(moduleConfigure != NULL){
+ i->getModuleOwner()->setProfile(currentProfileText);
moduleConfigure->showMaximized();
@@ -401,5 +405,2 @@ void MainWindowImp::configureClicked(){
InterfaceSetupImpDialog *configure = new InterfaceSetupImpDialog(this, "InterfaceSetupImp", i, true, Qt::WDestructiveClose );
- QString currentProfileText = currentProfileLabel->text();
- if(currentProfileText.upper() == "ALL");
- currentProfileText = "";
configure->setProfile(currentProfileText);