diff options
| author | Felix Ernst <[email protected]> | 2021-06-22 11:55:53 +0200 |
|---|---|---|
| committer | Felix Ernst <[email protected]> | 2021-06-22 11:55:53 +0200 |
| commit | 480b3067d25e4b49ea55285313a7c10e93f98ffd (patch) | |
| tree | 3024f346de6956079282756b25f65bec3ef830ba /src/dolphinmainwindow.cpp | |
| parent | 5e79f27aec817a44606e9e4f32b055d78eeb280c (diff) | |
| parent | dc3beae3ab2c55cd3501e17f93b51e93e876a177 (diff) | |
Merge branch 'release/21.04'
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 5595d0f5b..737856b23 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -211,6 +211,8 @@ DolphinMainWindow::DolphinMainWindow() : DolphinMainWindow::~DolphinMainWindow() { + // This fixes a crash on Wayland when closing the mainwindow while another dialog is open. + disconnect(QGuiApplication::clipboard(), &QClipboard::dataChanged, this, &DolphinMainWindow::updatePasteAction); } QVector<DolphinViewContainer*> DolphinMainWindow::viewContainers() const |
