Skip to content
Permalink
Browse files

fix warning

  • Loading branch information
jef-n committed Oct 9, 2016
1 parent 8b66ade commit cd3adc077eda76f1503ed7d4e29b1b2e41218d47
Showing with 17 additions and 9 deletions.
  1. +12 −0 src/core/qgsprojectproperty.cpp
  2. +5 −9 src/core/qgsprojectproperty.h
@@ -21,6 +21,18 @@
#include <QDomDocument>
#include <QStringList>

QgsProperty::QgsProperty()
{
}

QgsProperty::~QgsProperty()
{
}

QgsPropertyValue::~QgsPropertyValue()
{
}

void QgsPropertyValue::dump( int tabs ) const
{
QString tabString;
@@ -47,12 +47,8 @@ class QDomDocument;
class CORE_EXPORT QgsProperty
{
public:

QgsProperty()
{}

virtual ~ QgsProperty()
{}
QgsProperty();
virtual ~QgsProperty();

/** Dumps out the keys and values
*
@@ -125,7 +121,7 @@ class CORE_EXPORT QgsPropertyValue : public QgsProperty
: value_( value )
{}

virtual ~QgsPropertyValue() {}
virtual ~QgsPropertyValue();

/** Returns true if is a QgsPropertyKey */
virtual bool isKey() const override { return false; }
@@ -190,7 +186,7 @@ class CORE_EXPORT QgsPropertyKey : public QgsProperty
{
public:
QgsPropertyKey( const QString &name = "" );
virtual ~ QgsPropertyKey();
virtual ~QgsPropertyKey();

/// every key has a name
// @{
@@ -208,7 +204,7 @@ class CORE_EXPORT QgsPropertyKey : public QgsProperty


/// add the given property key
QgsPropertyKey * addKey( const QString & keyName )
QgsPropertyKey *addKey( const QString & keyName )
{
delete mProperties.take( keyName );
mProperties.insert( keyName, new QgsPropertyKey( keyName ) );

0 comments on commit cd3adc0

Please sign in to comment.
You can’t perform that action at this time.