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.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/net/opieirc/mainwindow.cpp b/noncore/net/opieirc/mainwindow.cpp
index 2562f33..1811a0c 100644
--- a/noncore/net/opieirc/mainwindow.cpp
+++ b/noncore/net/opieirc/mainwindow.cpp
@@ -1,8 +1,11 @@
1#include <qmenubar.h> 1#include <qmenubar.h>
2#include <qpe/resource.h> 2#include <qpe/resource.h>
3
4#include <opie2/odebug.h>
5
3#include <qwhatsthis.h> 6#include <qwhatsthis.h>
4 7
5#include "mainwindow.h" 8#include "mainwindow.h"
6#include "ircservertab.h" 9#include "ircservertab.h"
7#include "ircserverlist.h" 10#include "ircserverlist.h"
8#include "ircsettings.h" 11#include "ircsettings.h"
@@ -82,12 +85,13 @@ void MainWindow::killTab(IRCTab *tab, bool imediate) {
82 QTimer::singleShot(0, this, SLOT(slotKillTabsLater()) ); 85 QTimer::singleShot(0, this, SLOT(slotKillTabsLater()) );
83} 86}
84 87
85void MainWindow::slotKillTabsLater() { 88void MainWindow::slotKillTabsLater() {
86 for ( QListIterator<IRCTab> it(m_toDelete); it.current(); ++it ) { 89 for ( QListIterator<IRCTab> it(m_toDelete); it.current(); ++it ) {
87 m_tabWidget->removePage( it.current() ); 90 m_tabWidget->removePage( it.current() );
91 odebug << it.current() << oendl;
88 m_tabs.remove( it.current() ); 92 m_tabs.remove( it.current() );
89 } 93 }
90 94
91 m_toDelete.setAutoDelete( true ); 95 m_toDelete.setAutoDelete( true );
92 m_toDelete.clear(); 96 m_toDelete.clear();
93 m_toDelete.setAutoDelete( false ); 97 m_toDelete.setAutoDelete( false );