summaryrefslogtreecommitdiff
authorar <ar>2004-08-20 21:16:56 (UTC)
committer ar <ar>2004-08-20 21:16:56 (UTC)
commitda08f45abfb5e74c390d12736d3db9e8050068a2 (patch) (side-by-side diff)
tree121d6a2e1ee83ffa8d568eb633c0ab3bb2510dd2
parenta0520b8e1012bec8a2f2e7fe1d15e6fd1d38f0b0 (diff)
downloadopie-da08f45abfb5e74c390d12736d3db9e8050068a2.zip
opie-da08f45abfb5e74c390d12736d3db9e8050068a2.tar.gz
opie-da08f45abfb5e74c390d12736d3db9e8050068a2.tar.bz2
- remove unnecessary tab.
this hack is only a dirty work-around to prevent some confusion. networksetting is unmaintained and should be replaced by networksettings2, when it's done.
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/networksettings/mainwindow/mainwindowimp.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/noncore/settings/networksettings/mainwindow/mainwindowimp.cpp b/noncore/settings/networksettings/mainwindow/mainwindowimp.cpp
index 5184630..a4a2875 100644
--- a/noncore/settings/networksettings/mainwindow/mainwindowimp.cpp
+++ b/noncore/settings/networksettings/mainwindow/mainwindowimp.cpp
@@ -50,14 +50,8 @@ MainWindowImp::MainWindowImp(QWidget *parent, const char *name, WFlags) : MainWi
connect(informationConnectionButton, SIGNAL(clicked()), this, SLOT(informationClicked()));
connect(configureConnectionButton, SIGNAL(clicked()), this, SLOT(configureClicked()));
- connect(newProfileButton, SIGNAL(clicked()), this, SLOT(addProfile()));
- connect(removeProfileButton, SIGNAL(clicked()), this, SLOT(removeProfile()));
- connect(setCurrentProfileButton, SIGNAL(clicked()), this, SLOT(changeProfile()));
-
- connect(newProfile, SIGNAL(textChanged(const QString&)), this, SLOT(newProfileChanged(const QString&)));
-
- //FIXME: disable profiles for the moment:
- tabWidget->setTabEnabled( tab, false );
+ //remove tab with no function
+ tabWidget->removePage( tab );
// Load connections.
// /usr/local/kde/lib/libinterfaces.la