We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe800e2 commit 45538dfCopy full SHA for 45538df
src/core/annotations/qgstextannotation.cpp
@@ -30,7 +30,7 @@ QgsTextAnnotation *QgsTextAnnotation::clone() const
30
{
31
std::unique_ptr< QgsTextAnnotation > c( new QgsTextAnnotation() );
32
copyCommonProperties( c.get() );
33
- c->setDocument( mDocument ? mDocument->clone() : nullptr );
+ c->setDocument( mDocument.get() );
34
return c.release();
35
}
36
0 commit comments