De-inline QItemEditorCreatorBase destructor.

Virtual destructors on public exported API should not be inline.

Change-Id: I05bff0412ac97d2d8bd3cf8944f4fff2cb619f54
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
This commit is contained in:
Stephen Kelly 2012-07-24 16:22:03 +02:00 committed by Qt by Nokia
parent d76320abcf
commit 358c12d928
2 changed files with 5 additions and 1 deletions

View File

@ -358,6 +358,10 @@ void QItemEditorFactory::setDefaultFactory(QItemEditorFactory *factory)
Destroys the editor creator object.
*/
QItemEditorCreatorBase::~QItemEditorCreatorBase()
{
}
/*!
\fn QWidget *QItemEditorCreatorBase::createWidget(QWidget *parent) const

View File

@ -59,7 +59,7 @@ class QWidget;
class Q_WIDGETS_EXPORT QItemEditorCreatorBase
{
public:
virtual ~QItemEditorCreatorBase() {}
virtual ~QItemEditorCreatorBase();
virtual QWidget *createWidget(QWidget *parent) const = 0;
virtual QByteArray valuePropertyName() const = 0;