author | tille <tille> | 2003-05-23 19:54:11 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-23 19:54:11 (UTC) |
commit | 165a62b3ca9cc8e2c3c66845f465a38413fa60d9 (patch) (side-by-side diff) | |
tree | b88761fed9e4bb301eed9f50dba5d2d009fdd474 | |
parent | cfe5c97107610e45f29d1e996bcd8fa2cc2c3d9d (diff) | |
download | opie-165a62b3ca9cc8e2c3c66845f465a38413fa60d9.zip opie-165a62b3ca9cc8e2c3c66845f465a38413fa60d9.tar.gz opie-165a62b3ca9cc8e2c3c66845f465a38413fa60d9.tar.bz2 |
get rid of "no information on a disconneted iface" why?
... why is it called information anyway, lets call it "start/stop"
-rw-r--r-- | noncore/settings/networksettings/mainwindow.ui | 2 | ||||
-rw-r--r-- | noncore/settings/networksettings/mainwindowimp.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/noncore/settings/networksettings/mainwindow.ui b/noncore/settings/networksettings/mainwindow.ui index 8e17cb3..f61a1ae 100644 --- a/noncore/settings/networksettings/mainwindow.ui +++ b/noncore/settings/networksettings/mainwindow.ui @@ -171,13 +171,13 @@ <property stdset="1"> <name>name</name> <cstring>informationConnectionButton</cstring> </property> <property stdset="1"> <name>text</name> - <string>&Information</string> + <string>&Start/Stop</string> </property> </widget> <widget row="0" column="1" > <class>QPushButton</class> <property stdset="1"> <name>name</name> diff --git a/noncore/settings/networksettings/mainwindowimp.cpp b/noncore/settings/networksettings/mainwindowimp.cpp index 56bbd2c..a61f620 100644 --- a/noncore/settings/networksettings/mainwindowimp.cpp +++ b/noncore/settings/networksettings/mainwindowimp.cpp @@ -417,16 +417,16 @@ void MainWindowImp::informationClicked(){ if(!item){ QMessageBox::information(this, "Sorry","Please select an interface First.", QMessageBox::Ok); return; } Interface *i = interfaceItems[item]; - if(!i->isAttached()){ - QMessageBox::information(this, "Sorry","No information about\na disconnected interface.", QMessageBox::Ok); - return; - } +// if(!i->isAttached()){ +// QMessageBox::information(this, "Sorry","No information about\na disconnected interface.", QMessageBox::Ok); +// return; +// } if(i->getModuleOwner()){ QWidget *moduleInformation = i->getModuleOwner()->information(i); if(moduleInformation != NULL){ moduleInformation->showMaximized(); #ifdef DEBUG |