forked from qt-creator/qt-creator
Fixes: fakevim: use proper QObject parent for handler
Details: before that it was the plugin, so there was a lot of inactive handlers left around
This commit is contained in:
@@ -187,7 +187,7 @@ void FakeVimPluginPrivate::installHandler(Core::IEditor *editor)
|
||||
{
|
||||
QWidget *widget = editor->widget();
|
||||
|
||||
FakeVimHandler *handler = new FakeVimHandler(widget, this);
|
||||
FakeVimHandler *handler = new FakeVimHandler(widget, widget);
|
||||
|
||||
connect(handler, SIGNAL(extraInformationChanged(QString)),
|
||||
this, SLOT(showExtraInformation(QString)));
|
||||
|
||||
Reference in New Issue
Block a user