From ca2950fb8bffa9924aa49ab1d4729dbc2a391752 Mon Sep 17 00:00:00 2001 From: Daniel Bradshaw Date: Tue, 26 Jan 2010 21:02:20 +0000 Subject: Added virtual destructors, some implicit casts, and a couple of type changes. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Many warnings removed. Reviewed-by: Thorbjørn Lindeijer --- src/gui/widgets/slider.cpp | 3 ++- src/gui/widgets/tablemodel.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'src/gui/widgets') diff --git a/src/gui/widgets/slider.cpp b/src/gui/widgets/slider.cpp index 693ac0f7..e78055dd 100644 --- a/src/gui/widgets/slider.cpp +++ b/src/gui/widgets/slider.cpp @@ -209,4 +209,5 @@ void Slider::mouseEntered(gcn::MouseEvent& event) void Slider::mouseExited(gcn::MouseEvent& event) { mHasMouse = false; -} \ No newline at end of file +} + diff --git a/src/gui/widgets/tablemodel.h b/src/gui/widgets/tablemodel.h index 129d2089..c2943cf2 100644 --- a/src/gui/widgets/tablemodel.h +++ b/src/gui/widgets/tablemodel.h @@ -40,6 +40,8 @@ public: * \param completed whether we are signalling the end of the update */ virtual void modelUpdated(bool completed) = 0; + + virtual ~TableModelListener() {} }; /** -- cgit v1.2.3-70-g09d2