summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/mainwindow.cpp
Side-by-side diff
Diffstat (limited to 'noncore/net/opieirc/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/mainwindow.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/noncore/net/opieirc/mainwindow.cpp b/noncore/net/opieirc/mainwindow.cpp
index 3d13ee9..af4ce78 100644
--- a/noncore/net/opieirc/mainwindow.cpp
+++ b/noncore/net/opieirc/mainwindow.cpp
@@ -19,15 +19,9 @@ MainWindow::MainWindow(QWidget *parent, const char *name, WFlags f) : QMainWindo
QAction *a = new QAction(tr("New connection"), Resource::loadPixmap("pass"), QString::null, 0, this, 0);
connect(a, SIGNAL(activated()), this, SLOT(newConnection()));
a->addTo(irc);
-
- m_joinAction = new QAction(tr("Join channel"), Resource::loadPixmap("forward"), QString::null, 0, this, 0);
- m_joinAction->setEnabled(FALSE);
- connect(m_joinAction, SIGNAL(activated()), this, SLOT(join()));
- m_joinAction->addTo(irc);
}
void MainWindow::tabSelected(QWidget *) {
- m_joinAction->setEnabled(TRUE);
}
void MainWindow::closeTab() {
@@ -39,13 +33,6 @@ void MainWindow::closeTab() {
}
}
-void MainWindow::join() {
- IRCTab *tab = (IRCTab *)m_tabWidget->currentPage();
- if (tab) {
- tab->session()->join("#opie.de");
- }
-}
-
void MainWindow::addTab(IRCTab *tab) {
m_tabWidget->addTab(tab, tab->title());
m_tabWidget->showPage(tab);