From 5fe3dd1c474fe157446dc9f92f319fc09fac3ad2 Mon Sep 17 00:00:00 2001 From: Yann Dirson Date: Sat, 19 Apr 2008 22:09:31 +0200 Subject: [PATCH] debug --- src/core/component.cpp | 5 +++++ src/core/component.h | 1 + src/core/state.cpp | 6 +++++- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/core/component.cpp b/src/core/component.cpp index aad4c39..c5b4c98 100644 --- a/src/core/component.cpp +++ b/src/core/component.cpp @@ -10,4 +10,9 @@ #include "component.h" +#include + Component::Component() { } +Component::~Component() { + kDebug() << this; +} diff --git a/src/core/component.h b/src/core/component.h index c1c6ec7..fb8ac3b 100644 --- a/src/core/component.h +++ b/src/core/component.h @@ -24,6 +24,7 @@ class TAGUA_EXPORT Component : public QObject { Q_OBJECT public: Component(); + ~Component(); }; static inline void dump_component_methods(Component* c) { diff --git a/src/core/state.cpp b/src/core/state.cpp index ac3df38..3337183 100644 --- a/src/core/state.cpp +++ b/src/core/state.cpp @@ -10,4 +10,8 @@ #include "state.h" -IState::~IState() { } +#include + +IState::~IState() { + kDebug() << this; +} -- 2.11.4.GIT