]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fix build with older KF versions
authorAhmad Samir <a.samirh78@gmail.com>
Wed, 19 Oct 2022 15:45:10 +0000 (17:45 +0200)
committerAhmad Samir <a.samirh78@gmail.com>
Wed, 19 Oct 2022 15:45:10 +0000 (17:45 +0200)
GIT_SILENT

src/trash/dolphintrash.cpp

index 236f9817d3df001b134d67bc86495303688e3b71..906da2b9da75560bf05184eed5b9b566dca9c156 100644 (file)
@@ -75,7 +75,7 @@ void Trash::empty(QWidget *window)
         KIO::Job* job = KIO::emptyTrash();
         KJobWidgets::setWindow(job, window);
         job->uiDelegate()->setAutoErrorHandlingEnabled(true);
-        QObject::connect(emptyJob, &KIO::Job::result, notifyEmptied);
+        QObject::connect(job, &KIO::Job::result, notifyEmptied);
     }
 #endif
 }