On 17.06.2010 20:51, Magnus Holmgren wrote:
According to the C++ FAQ Lite, the destructor is automatically virtual if the base class destructor is. See here for details:http://www.parashift.com/c++-faq-lite/virtual-functions.html#faq-20.7
This is exactly why I wrote that the code was OK -- since the destructors of the base classes (part of Qt library) are virtual. So there is no need to declare them as virtual in our code. But it also does no harm.
