]> cloud.milkyroute.net Git - dolphin.git/commit
DolphinViewContainer: Delay changing the url
authorAmol Godbole <amolagodbole@gmail.com>
Sun, 15 Sep 2024 23:49:43 +0000 (18:49 -0500)
committerMéven Car <meven@kde.org>
Tue, 8 Oct 2024 09:15:38 +0000 (09:15 +0000)
commit2328cb7f923e5c6eeb7617eebf3ee73c0bb8e50b
tree723387f28e23e81bf4f829180fd059c915f51f65
parentf5840f52be54078de2658f84a973313e997bd491
DolphinViewContainer: Delay changing the url

KCoreDirLister::itemsDeleted() signal is being emitted twice for the
same url. This results in Dolphin displaying an incorrect location.
Delay changing the url instead of delaying
DolphinView::currentDirectoryRemoved() so that the check for current
directory being removed in KFileItemModel::slotItemsDeleted() occurs
correctly, while still ensuring that KCoreDirLister is not prematurely
modified.

BUG: 492277, BUG: 473377
src/dolphinviewcontainer.cpp
src/views/dolphinview.cpp