Skip to content

Commit

Permalink
QgsAppScreenShots: make class non-copyable/non-affectable as it has p…
Browse files Browse the repository at this point in the history
…ointers
  • Loading branch information
rouault committed Oct 1, 2020
1 parent d7da95e commit bbc1deb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/qgsappscreenshots.h
Expand Up @@ -91,6 +91,8 @@ class QgsAppScreenShots
QgsVectorLayer *mLineLayer = nullptr;
QgsVectorLayer *mPolygonLayer = nullptr;
QgsRasterLayer *mRasterLayer = nullptr;

Q_DISABLE_COPY( QgsAppScreenShots )
};

Q_DECLARE_OPERATORS_FOR_FLAGS( QgsAppScreenShots::Categories )
Expand Down

0 comments on commit bbc1deb

Please sign in to comment.