]> cloud.milkyroute.net Git - dolphin.git/commit
TerminalPanel: Disconnect destroyed signal in destructor
authorKai Uwe Broulik <kde@privat.broulik.de>
Tue, 19 Sep 2023 20:43:14 +0000 (22:43 +0200)
committerKai Uwe Broulik <kde@privat.broulik.de>
Tue, 19 Sep 2023 20:43:14 +0000 (22:43 +0200)
commit856716e8b6a1de36e85764f25be09f8d49f52d3e
treefa7e2fff26676112c3e852fcae0e02c50b4c4f2d
parent64e40c1d934247fc9e1c2fa00761b2cb8d70a146
TerminalPanel: Disconnect destroyed signal in destructor

Otherwise, when QObject cleanup, which runs after our destructor,
destroys the terminalPart, it would call back into us
when we're already half-destroyed.

This trips an assert in Qt "Called object is not of the correct
type (class destructor may have already run)"
src/panels/terminal/terminalpanel.cpp