From a0b010bb00fe10f2b3e927ff0c465839d6993b84 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 28 Feb 2010 21:03:58 +0000 Subject: Only access the data of the thread that has been created most recently. Data of older threads will just get ignored. svn path=/trunk/KDE/kdebase/apps/; revision=1097289 --- src/panels/information/kloadmetadatathread_p.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/panels/information/kloadmetadatathread_p.h') diff --git a/src/panels/information/kloadmetadatathread_p.h b/src/panels/information/kloadmetadatathread_p.h index fddb01a1a..6aba52ad3 100644 --- a/src/panels/information/kloadmetadatathread_p.h +++ b/src/panels/information/kloadmetadatathread_p.h @@ -56,6 +56,14 @@ public: */ void load(const KUrl::List& urls); + /** + * Tells the thread that it should cancel as soon + * as possible. It is undefined when the thread + * gets cancelled. The signal finished() will emitted + * after the cancelling has been done. + */ + void cancel(); + /** * Cancels the thread and assures that the thread deletes * itself as soon as the cancelling has been successful. In -- cgit v1.3.1