diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-03-16 01:45:50 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-03-16 01:45:50 +0100 |
commit | c4a3ac8eb53f109a3da1f53f279fc86edcb92597 (patch) | |
tree | 8ef689aac509629d33fce88c6b2ad31e8837285f /src/application.cpp | |
parent | Merge commit 'refs/merge-requests/104' of git://gitorious.org/rekonq/mainline... (diff) | |
download | rekonq-c4a3ac8eb53f109a3da1f53f279fc86edcb92597.tar.xz |
First bunch of fixes for the NewTabPage + WebSnap chain.
It seems clear (to me) that they leaks memory, so they urgently need
fixes. And a complete redesign.
This is just a first (the easiest) part of it:
- Removed some unuseful methods,
- Added some documentation for the WebSnap class
- Cleaned code, in general
Diffstat (limited to 'src/application.cpp')
-rw-r--r-- | src/application.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application.cpp b/src/application.cpp index 96254e07..b8d6f52f 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -353,7 +353,7 @@ MainWindow *Application::newMainWindow() void Application::removeMainWindow(MainWindow *window) { - m_mainWindows.removeAt(m_mainWindows.indexOf(window, 0)); + m_mainWindows.removeOne(window); } |