summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/mainwindow.cpp
Unidiff
Diffstat (limited to 'noncore/net/opieirc/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/opieirc/mainwindow.cpp b/noncore/net/opieirc/mainwindow.cpp
index 1143213..2e674c5 100644
--- a/noncore/net/opieirc/mainwindow.cpp
+++ b/noncore/net/opieirc/mainwindow.cpp
@@ -73,12 +73,13 @@ void MainWindow::changeEvent(IRCTab *tab) {
73 m_tabWidget->setTabColor(tab->id(), blue); 73 m_tabWidget->setTabColor(tab->id(), blue);
74} 74}
75 75
76void MainWindow::killTab(IRCTab *tab) { 76void MainWindow::killTab(IRCTab *tab) {
77 m_tabWidget->removePage(tab); 77 m_tabWidget->removePage(tab);
78 m_tabs.remove(tab); 78 m_tabs.remove(tab);
79
79 /* there might be nicer ways to do this .. */ 80 /* there might be nicer ways to do this .. */
80 delete tab; 81 delete tab;
81} 82}
82 83
83void MainWindow::newConnection() { 84void MainWindow::newConnection() {
84 IRCServerList list(this, "ServerList", TRUE); 85 IRCServerList list(this, "ServerList", TRUE);