diff --git a/service_p.h b/service_p.h index 106234921..88e26a60a 100644 --- a/service_p.h +++ b/service_p.h @@ -17,10 +17,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -class KTemporaryFile; #include "servicejob.h" - +#include namespace Plasma { @@ -65,6 +64,10 @@ public: tempFile(0) { } + ~ServicePrivate() + { + delete tempFile; + } Service *q; QString destination;