Commit f393ad16 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Fix exit crash in fakevim plugin.

Introduced by cf9895ae

.

Change-Id: Ia5e7f92fb05313826e5ffd8b080b8a711bc6e793
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@nokia.com>
parent 94dda386
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment