Skip to content
Permalink
Browse files

QgsAppScreenShots: make class non-copyable/non-affectable as it has p…

…ointers
  • Loading branch information
rouault committed Oct 1, 2020
1 parent d7da95e commit bbc1deb0759c888b743d0e5ba55a261b326a10d3
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/qgsappscreenshots.h
@@ -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 )

0 comments on commit bbc1deb

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