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/editor/libkvieditor.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/editor/libkvieditor.cpp')
| -rw-r--r-- | src/modules/editor/libkvieditor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/editor/libkvieditor.cpp b/src/modules/editor/libkvieditor.cpp index 6f36648e8..a1c83d94e 100644 --- a/src/modules/editor/libkvieditor.cpp +++ b/src/modules/editor/libkvieditor.cpp @@ -50,7 +50,7 @@ static bool editor_module_cleanup(KviModule *) * the codetester window (it deletes us in its denstructor, and we tries to back-delete it) * So it's commented out by now.. */ -/* + while(g_pScriptEditorWindowList->first()) { QObject * w = g_pScriptEditorWindowList->first()->parent();; @@ -68,7 +68,7 @@ static bool editor_module_cleanup(KviModule *) } delete g_pScriptEditorWindowList->first(); } -*/ + delete g_pScriptEditorWindowList; g_pScriptEditorWindowList = 0; |
