From: <kna...@us...> - 2006-05-30 19:04:32
|
Revision: 2052 Author: knackeback Date: 2006-05-30 12:04:22 -0700 (Tue, 30 May 2006) ViewCVS: http://svn.sourceforge.net/tora/?rev=2052&view=rev Log Message: ----------- add virtual dtor to toPieTip and use ctor initilzation list just to remove a -Wall warning Modified Paths: -------------- trunk/tora/src/topiechart.cpp Modified: trunk/tora/src/topiechart.cpp =================================================================== --- trunk/tora/src/topiechart.cpp 2006-05-30 18:55:14 UTC (rev 2051) +++ trunk/tora/src/topiechart.cpp 2006-05-30 19:04:22 UTC (rev 2052) @@ -70,11 +70,14 @@ toPieChart *Chart; public: toPieTip(toPieChart *parent) - : QToolTip(parent) + : QToolTip(parent), Chart(parent) { - Chart = parent; } + virtual ~toPieTip() + { + } + virtual void maybeTip(const QPoint &p) { QString t = Chart->findLabel(p); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |