File tree 2 files changed +7
-8
lines changed
2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -193,11 +193,11 @@ void QgsAppScreenShots::takePicturesOf( Categories categories )
193
193
if ( !categories || categories.testFlag ( GlobalOptions ) )
194
194
takeGlobalOptions ();
195
195
196
- if ( !categories || categories.testFlag ( Symbol25D ) )
197
- take25dSymbol ();
198
-
199
196
if ( !categories || categories.testFlag ( VectorLayerProperties ) )
197
+ {
200
198
takeVectorLayerProperties ();
199
+ takeVectorLayerProperties25DSymbol ();
200
+ }
201
201
}
202
202
203
203
void QgsAppScreenShots::setGradientSize ( int size )
@@ -245,7 +245,7 @@ void QgsAppScreenShots::takeVectorLayerProperties()
245
245
246
246
// ---------------
247
247
248
- void QgsAppScreenShots::take25dSymbol ()
248
+ void QgsAppScreenShots::takeVectorLayerProperties25DSymbol ()
249
249
{
250
250
QString folder = QLatin1String ( " working_with_vector/img/auto_generated/vector_layer_properties/" );
251
251
QgsVectorLayerProperties *dlg = new QgsVectorLayerProperties ( mPolygonLayer , QgisApp::instance () );
Original file line number Diff line number Diff line change @@ -46,9 +46,8 @@ class QgsAppScreenShots
46
46
enum Category
47
47
{
48
48
All = 0 ,
49
- GlobalOptions = 1 << 1 ,
50
- Symbol25D = 1 << 2 ,
51
- VectorLayerProperties = 1 << 3 ,
49
+ GlobalOptions = 1 << 0 ,
50
+ VectorLayerProperties = 1 << 1 ,
52
51
};
53
52
Q_ENUM ( Category )
54
53
Q_DECLARE_FLAGS ( Categories, Category )
@@ -80,7 +79,7 @@ class QgsAppScreenShots
80
79
void saveScreenshot ( QPixmap &pixmap, const QString &name, const QString &folder );
81
80
82
81
void takeVectorLayerProperties ();
83
- void take25dSymbol ();
82
+ void takeVectorLayerProperties25DSymbol ();
84
83
void takeGlobalOptions ();
85
84
86
85
QString mSaveDirectory ;
You can’t perform that action at this time.
0 commit comments