Hello,

I am new to this mailing list, but I have used Qt (off and on) for many
years.  Also, I am an OK C++ programmer, but great.  (I'm getting a bit out
of date since the C++11 Big Bang.)

Apologies if this is a dumb question, but I noticed that the destructor for
Qt5/QProxyStyle is not virtual.

Can someone help me to understand why?

My naive view: If you are inheriting from a base class with virtual
methods, you need a virtual destructor.

Thanks,
Arpe
Hongkong
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to