]> cloud.milkyroute.net Git - dolphin.git/commit
dolphintrash.cpp: Update trash dir on device changes
authorAkseli Lahtinen <akselmo@akselmo.dev>
Tue, 17 Sep 2024 09:28:49 +0000 (09:28 +0000)
committerMéven Car <meven@kde.org>
Tue, 17 Sep 2024 09:28:49 +0000 (09:28 +0000)
commit7af7159b35d6c3091eb73f34ead80d64b3f85e2b
treea3731034b3c9129df4bbdd66d9cdf99fbfd22e69
parent5d6495f24503dd32746fd71e8f6d270373118a75
dolphintrash.cpp: Update trash dir on device changes

Make sure we update the trash directory when storage devices are added/changed.
This ensures that whenever a mounted device, for example
USB stick is mounted/unmounted, the contents are properly
updated in the trash folder as well.

Otherwise the trash folder and USB stick trash folder will get
out of sync, making the trash folder behavior unpredictable.

BUG:493247
src/trash/dolphintrash.cpp