┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
authorHolger Freyther <[email protected]>2006-12-10 21:01:38 +0000
committerHolger Freyther <[email protected]>2006-12-10 21:01:38 +0000
commit6cb02408e418ca864c9e02d55f3358a1a7c64a15 (patch)
treeeca595a4bdbf5204411a9af85b2b399a530a56cb /src/dolphinmainwindow.cpp
parent328de208710faebaa275e2ef8ddb28a78ea5a2f0 (diff)
Use a QLinkedList instead of Q3PtrList
svn path=/trunk/playground/utils/dolphin/; revision=612313
Diffstat (limited to 'src/dolphinmainwindow.cpp')
-rw-r--r--src/dolphinmainwindow.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index 61b7bb221..4fa3cef31 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -86,17 +86,20 @@ DolphinMainWindow::DolphinMainWindow() :
m_view[PrimaryIdx] = 0;
m_view[SecondaryIdx] = 0;
- m_fileGroupActions.setAutoDelete(true);
-
// TODO: the following members are not used yet. See documentation
// of DolphinMainWindow::linkGroupActions() and DolphinMainWindow::linkToDeviceActions()
// in the header file for details.
- //m_linkGroupActions.setAutoDelete(true);
- //m_linkToDeviceActions.setAutoDelete(true);
}
DolphinMainWindow::~DolphinMainWindow()
{
+ qDeleteAll(m_fileGroupActions);
+ //qDeleteAll(m_linkToDeviceActions);
+ //qDeleteAll(m_linkGroupActions);
+ m_fileGroupActions.clear();
+ //m_linkGroupActions.clear();
+ //m_linkToDeviceActions.clear();
+
/*
* bye, bye managed window
*/