diff options
| author | 2009-02-17 17:21:55 +0000 | |
|---|---|---|
| committer | 2009-02-17 17:21:55 +0000 | |
| commit | 47546513b81eb0b18259ddb85ab2124eb9a6bf7c (patch) | |
| tree | c9cdfbdfbfeecd171a6d4e287b8abc0bda1884c2 /src/modules/links/libkvilinks.cpp | |
| parent | More work on objects module (w.i.p.) (diff) | |
| download | KVIrc-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/links/libkvilinks.cpp')
| -rw-r--r-- | src/modules/links/libkvilinks.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/links/libkvilinks.cpp b/src/modules/links/libkvilinks.cpp index 8903c9ea6..7b01bdb35 100644 --- a/src/modules/links/libkvilinks.cpp +++ b/src/modules/links/libkvilinks.cpp @@ -88,7 +88,8 @@ static bool links_module_init(KviModule * m) static bool links_module_cleanup(KviModule *) { - while(g_pLinksWindowList->first())g_pLinksWindowList->first()->die(); + while(g_pLinksWindowList->first()) + g_pLinksWindowList->first()->die(); delete g_pLinksWindowList; g_pLinksWindowList = 0; return true; |
