diff options
author | Tobias Hunger <tobias.hunger@digia.com> | 2014-04-29 13:38:42 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@digia.com> | 2014-04-29 13:41:10 +0200 |
commit | 399f49cca221701f2f860dab43bc638d2ce9294f (patch) | |
tree | b48b547abf2ac56e312af50e3b202171893c62f5 /src/plugins/tasklist/taskfilefactory.cpp | |
parent | 444feda0b14a0d879c3844054d7b267fe628b025 (diff) | |
download | qt-creator-399f49cca221701f2f860dab43bc638d2ce9294f.tar.gz |
TaskListPlugin: Use pointers to TaskFiles instead of IDocuments
... in internal list of files we have already open.
Change-Id: I76072c87f374a0881792a04d7ead28e954b94a20
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/tasklist/taskfilefactory.cpp')
-rw-r--r-- | src/plugins/tasklist/taskfilefactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/tasklist/taskfilefactory.cpp b/src/plugins/tasklist/taskfilefactory.cpp index ad8fdb82ea..a902449257 100644 --- a/src/plugins/tasklist/taskfilefactory.cpp +++ b/src/plugins/tasklist/taskfilefactory.cpp @@ -80,7 +80,7 @@ Core::IDocument *TaskFileFactory::open(const QString &base, const QString &fileN void TaskFileFactory::closeAllFiles() { - foreach (Core::IDocument *document, m_openFiles) + foreach (TaskFile *document, m_openFiles) document->deleteLater(); m_openFiles.clear(); } |