forked from qt-creator/qt-creator
Debugger: Fix crash after adjusting font size
Change-Id: Ic3b415a3791968f972d2f69ec71c8012c572995d Fixes: QTCREATORBUG-14385 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -386,6 +386,10 @@ public:
|
|||||||
// This triggers activity in the EngineManager which
|
// This triggers activity in the EngineManager which
|
||||||
// recognizes the rampdown by the m_perpective == nullptr above.
|
// recognizes the rampdown by the m_perpective == nullptr above.
|
||||||
perspective->destroy();
|
perspective->destroy();
|
||||||
|
|
||||||
|
// disconnect the follow font size connection
|
||||||
|
TextEditorSettings::instance()->disconnect(this);
|
||||||
|
|
||||||
delete perspective;
|
delete perspective;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user