aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/socketspy/libkvisocketspy.cpp
diff options
context:
space:
mode:
authorGravatar Fabio Bas2009-02-17 17:21:55 +0000
committerGravatar Fabio Bas2009-02-17 17:21:55 +0000
commit47546513b81eb0b18259ddb85ab2124eb9a6bf7c (patch)
treec9cdfbdfbfeecd171a6d4e287b8abc0bda1884c2 /src/modules/socketspy/libkvisocketspy.cpp
parentMore work on objects module (w.i.p.) (diff)
downloadKVIrc-47546513b81eb0b18259ddb85ab2124eb9a6bf7c.tar.gz
KVIrc-47546513b81eb0b18259ddb85ab2124eb9a6bf7c.tar.bz2
KVIrc-47546513b81eb0b18259ddb85ab2124eb9a6bf7c.zip
ensure that all the modules that creates a window using g_pFrame->addWindow closes the window using g_pFrame->closeWindow (that is a public member by now); This removes some remaining problems regarding mdichilds
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3080 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/socketspy/libkvisocketspy.cpp')
-rw-r--r--src/modules/socketspy/libkvisocketspy.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/socketspy/libkvisocketspy.cpp b/src/modules/socketspy/libkvisocketspy.cpp
index a16639916..edff34641 100644
--- a/src/modules/socketspy/libkvisocketspy.cpp
+++ b/src/modules/socketspy/libkvisocketspy.cpp
@@ -68,7 +68,8 @@ static bool socketspy_module_init(KviModule * m)
static bool socketspy_module_cleanup(KviModule *)
{
- while(g_pSocketSpyWindowList->first())g_pSocketSpyWindowList->first()->die();
+ while(g_pSocketSpyWindowList->first())
+ g_pSocketSpyWindowList->first()->die();
delete g_pSocketSpyWindowList;
g_pSocketSpyWindowList = 0;
return true;