From 98da50b3d081cdf0e900cd6dbf9b8cf1053c73dd Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Wed, 16 Sep 2009 15:50:49 +0200 Subject: Added a virtual destructor to suppress warnings. --- src/declarative/qml/qmlpropertyvaluesource.cpp | 4 ++++ src/declarative/qml/qmlpropertyvaluesource.h | 1 + 2 files changed, 5 insertions(+) diff --git a/src/declarative/qml/qmlpropertyvaluesource.cpp b/src/declarative/qml/qmlpropertyvaluesource.cpp index 429080b..529ce37 100644 --- a/src/declarative/qml/qmlpropertyvaluesource.cpp +++ b/src/declarative/qml/qmlpropertyvaluesource.cpp @@ -56,6 +56,10 @@ QmlPropertyValueSource::QmlPropertyValueSource() { } +QmlPropertyValueSource::~QmlPropertyValueSource() +{ +} + /*! \fn void QmlPropertyValueSource::setTarget(const QmlMetaProperty &property) Set the target \a property for the value source. This method will diff --git a/src/declarative/qml/qmlpropertyvaluesource.h b/src/declarative/qml/qmlpropertyvaluesource.h index ee4ea2c..384d2f9 100644 --- a/src/declarative/qml/qmlpropertyvaluesource.h +++ b/src/declarative/qml/qmlpropertyvaluesource.h @@ -55,6 +55,7 @@ class Q_DECLARATIVE_EXPORT QmlPropertyValueSource { public: QmlPropertyValueSource(); + virtual ~QmlPropertyValueSource(); virtual void setTarget(const QmlMetaProperty &) = 0; }; Q_DECLARE_INTERFACE(QmlPropertyValueSource, "com.trolltech.qml.QmlPropertyValueSource") -- cgit v0.12