summaryrefslogtreecommitdiff
authorkergoth <kergoth>2003-04-14 23:32:55 (UTC)
committer kergoth <kergoth>2003-04-14 23:32:55 (UTC)
commit9de8e53272af12de09283fc796864557db7f29f4 (patch) (unidiff)
tree8e8b6191c7b0db3103b0e674a87dcee2c5a92586
parentfb07cc161b4adc5bc250569599a7164af2d7caba (diff)
downloadopie-9de8e53272af12de09283fc796864557db7f29f4.zip
opie-9de8e53272af12de09283fc796864557db7f29f4.tar.gz
opie-9de8e53272af12de09283fc796864557db7f29f4.tar.bz2
BUGFIX: didnt call setProfile on interfaces for which a module exists, were only calling it on standard InterfaceSetupImpDialog interfaces.
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(){
193 193
194 qWarning("ifr.ifr_name=%s\n", ifr.ifr_name);
195
196 struct ifreq ifcopy; 194 struct ifreq ifcopy;
@@ -391,3 +389,8 @@ void MainWindowImp::configureClicked(){
391 389
390 QString currentProfileText = currentProfileLabel->text();
391 if(currentProfileText.upper() == "ALL");
392 currentProfileText = "";
393
392 Interface *i = interfaceItems[item]; 394 Interface *i = interfaceItems[item];
395
393 if(i->getModuleOwner()){ 396 if(i->getModuleOwner()){
@@ -395,2 +398,3 @@ void MainWindowImp::configureClicked(){
395 if(moduleConfigure != NULL){ 398 if(moduleConfigure != NULL){
399 i->getModuleOwner()->setProfile(currentProfileText);
396 moduleConfigure->showMaximized(); 400 moduleConfigure->showMaximized();
@@ -401,5 +405,2 @@ void MainWindowImp::configureClicked(){
401 InterfaceSetupImpDialog *configure = new InterfaceSetupImpDialog(this, "InterfaceSetupImp", i, true, Qt::WDestructiveClose ); 405 InterfaceSetupImpDialog *configure = new InterfaceSetupImpDialog(this, "InterfaceSetupImp", i, true, Qt::WDestructiveClose );
402 QString currentProfileText = currentProfileLabel->text();
403 if(currentProfileText.upper() == "ALL");
404 currentProfileText = "";
405 configure->setProfile(currentProfileText); 406 configure->setProfile(currentProfileText);