QgsSymbolV2 may not be copied

This commit is contained in:
Matthias Kuhn 2015-12-22 16:38:52 +01:00
parent c8060045d8
commit 52a39fc286
2 changed files with 6 additions and 0 deletions

View File

@ -213,6 +213,9 @@ class QgsSymbolV2
//! check whether a symbol layer type can be used within the symbol
//! (marker-marker, line-line, fill-fill/line)
bool isSymbolLayerCompatible( SymbolType t );
private:
QgsSymbolV2( const QgsSymbolV2& );
};
///////////////////////

View File

@ -308,6 +308,9 @@ class CORE_EXPORT QgsSymbolV2
const QgsVectorLayer* mLayer; //current vectorlayer
private:
Q_DISABLE_COPY( QgsSymbolV2 )
};
///////////////////////