From f15b5325982aa6fd73f5ebaa38b24cb2513ce5f5 Mon Sep 17 00:00:00 2001 From: revenmartin Date: Fri, 21 May 2021 15:58:15 +0800 Subject: [PATCH] Call the filemanager to empty trash --- src/trashmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trashmanager.cpp b/src/trashmanager.cpp index 3f5873c..2da8c77 100644 --- a/src/trashmanager.cpp +++ b/src/trashmanager.cpp @@ -34,7 +34,7 @@ TrashManager::TrashManager(QObject *parent) void TrashManager::emptyTrash() { - + QProcess::startDetached("cutefish-filemanager", QStringList() << "-e"); } void TrashManager::openTrash()