diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-04-10 14:20:11 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2015-04-10 16:40:37 +0000 |
commit | 941356be764a5d8284d93d15f717b558a3179536 (patch) | |
tree | 773e8b25c0ad6e8b9b12374dd90569ada6e789c2 /src/libs | |
parent | 8ed3973aadf55a79b25bc95cab1318ffb3342277 (diff) | |
download | qt-creator-941356be764a5d8284d93d15f717b558a3179536.tar.gz |
Timeline: Don't delete the models from TimelineModelAggregator::clear()
The aggregator doesn't own the models. They may live in separate
plugins and should be cleared from the code where they are created.
Change-Id: Icbde117561e530bd83fe752acd483e2c42692a1c
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/libs')
-rw-r--r-- | src/libs/timeline/timelinemodelaggregator.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libs/timeline/timelinemodelaggregator.cpp b/src/libs/timeline/timelinemodelaggregator.cpp index cfd9787179..1311f60fb6 100644 --- a/src/libs/timeline/timelinemodelaggregator.cpp +++ b/src/libs/timeline/timelinemodelaggregator.cpp @@ -98,7 +98,6 @@ TimelineNotesModel *TimelineModelAggregator::notes() const void TimelineModelAggregator::clear() { - qDeleteAll(d->modelList); d->modelList.clear(); if (d->notesModel) d->notesModel->clear(); |