diff options
author | Erik Verbruggen <erik.verbruggen@nokia.com> | 2009-09-16 13:50:49 (GMT) |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@nokia.com> | 2009-09-16 13:50:49 (GMT) |
commit | 98da50b3d081cdf0e900cd6dbf9b8cf1053c73dd (patch) | |
tree | 0eac6795738933972c243f2dc4bc040763169bd2 | |
parent | 990a39008c38d5fed19cca3b5b7af5f148c90c55 (diff) | |
download | Qt-98da50b3d081cdf0e900cd6dbf9b8cf1053c73dd.zip Qt-98da50b3d081cdf0e900cd6dbf9b8cf1053c73dd.tar.gz Qt-98da50b3d081cdf0e900cd6dbf9b8cf1053c73dd.tar.bz2 |
Added a virtual destructor to suppress warnings.
-rw-r--r-- | src/declarative/qml/qmlpropertyvaluesource.cpp | 4 | ||||
-rw-r--r-- | src/declarative/qml/qmlpropertyvaluesource.h | 1 |
2 files changed, 5 insertions, 0 deletions
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") |