diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-07-20 17:00:49 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-07-23 11:37:53 +0200 |
commit | f393ad1640b2a7e82e43a1241eb327a4f41a2a3f (patch) | |
tree | a61cc0ce50ac3aabdc25b94ca077c6f268a06105 /src/plugins/fakevim | |
parent | 94dda386644ad70199509fade622bffe36c42fbd (diff) | |
download | qt-creator-f393ad1640b2a7e82e43a1241eb327a4f41a2a3f.tar.gz |
Fix exit crash in fakevim plugin.
Introduced by cf9895ae0146456b034c50459e2aa81299483b4d.
Change-Id: Ia5e7f92fb05313826e5ffd8b080b8a711bc6e793
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/plugins/fakevim')
-rw-r--r-- | src/plugins/fakevim/fakevimplugin.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/fakevim/fakevimplugin.cpp b/src/plugins/fakevim/fakevimplugin.cpp index 20d5b43a43..5e07f126cd 100644 --- a/src/plugins/fakevim/fakevimplugin.cpp +++ b/src/plugins/fakevim/fakevimplugin.cpp @@ -1757,9 +1757,7 @@ ExtensionSystem::IPlugin::ShutdownFlag FakeVimPlugin::aboutToShutdown() void FakeVimPlugin::extensionsInitialized() { d->m_statusBar = new Core::StatusBarWidget; - MiniBuffer *miniBuffer = new MiniBuffer; - addAutoReleasedObject(miniBuffer); - d->m_statusBar->setWidget(miniBuffer); + d->m_statusBar->setWidget(new MiniBuffer); d->m_statusBar->setPosition(StatusBarWidget::Last); addAutoReleasedObject(d->m_statusBar); } |