]> cloud.milkyroute.net Git - dolphin.git/commitdiff
DolphinView: use correct slot as trashjob results
authorMéven Car <meven@kde.org>
Sun, 29 Jun 2025 08:57:57 +0000 (10:57 +0200)
committerMéven Car <meven@kde.org>
Sun, 29 Jun 2025 08:59:44 +0000 (10:59 +0200)
When using the Delete action.

src/views/dolphinview.cpp

index 50c014c6ae9ca8aabc0424bc1563e4f5509146d4..9bbdc3b10e9572fba0e0ff49f280ead6454c043c 100644 (file)
@@ -810,7 +810,7 @@ void DolphinView::deleteSelectedItems()
 
     using Iface = KIO::AskUserActionInterface;
     auto *trashJob = new KIO::DeleteOrTrashJob(list, Iface::Delete, Iface::DefaultConfirmation, this);
-    connect(trashJob, &KJob::result, this, &DolphinView::slotTrashFileFinished);
+    connect(trashJob, &KJob::result, this, &DolphinView::slotDeleteFileFinished);
     m_selectNextItem = true;
     trashJob->start();
 }