]> cloud.milkyroute.net Git - dolphin.git/commit
Fix crash on Wayland when closing the mainwindow while another dialog is open
authorElvis Angelaccio <elvis.angelaccio@kde.org>
Sat, 19 Dec 2020 17:43:44 +0000 (18:43 +0100)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Sun, 30 May 2021 22:43:46 +0000 (00:43 +0200)
commit2f3d8c5c9664f66ff7922ad7fd612f65182c75d0
treef8cf82ab7cb47a5244bd5bd20a7056e46808fbe6
parentec3c196e5a091d7beefd2d3dd7b8e9b1804e7370
Fix crash on Wayland when closing the mainwindow while another dialog is open

For some reason on Wayland `QClipboad::dataChanged` can be emitted after
the main window gets deleted. In particular this happens when closing the
main window while another dialog is open.

Since we are closing the window, we can just disconnect this signal and
prevent this crash from ever happening.
src/dolphinmainwindow.cpp