From a0c0b43b97017280f6290fc720f41307a5b85d22 Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Wed, 7 Sep 2022 21:55:45 +0200 Subject: DolphinTrash: port away from deprecated KIO API Also change empty() method to return void, nothing was using the KJob * it was returning. --- src/trash/dolphintrash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/trash/dolphintrash.h') diff --git a/src/trash/dolphintrash.h b/src/trash/dolphintrash.h index 2ee85e89a..c65cf9232 100644 --- a/src/trash/dolphintrash.h +++ b/src/trash/dolphintrash.h @@ -25,7 +25,7 @@ public: Trash& operator=(Trash &&) = delete; static Trash& instance(); - static KIO::Job* empty(QWidget *window); + static void empty(QWidget *window); static bool isEmpty(); Q_SIGNALS: -- cgit v1.3.1