Skip to content

Commit 2b4de28

Browse files
committed
rename takeScreenshots to takePicturesOf
1 parent 6af8ea8 commit 2b4de28

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/app/qgisapp.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -13066,7 +13066,7 @@ void QgisApp::zoomToBookmarkIndex( const QModelIndex &index )
1306613066
void QgisApp::takeAppScreenShots( const QString &saveDirectory, const int categories )
1306713067
{
1306813068
QgsAppScreenShots ass( saveDirectory );
13069-
ass.takeScreenshots( QgsAppScreenShots::Categories( categories ) );
13069+
ass.takePicturesOf( QgsAppScreenShots::Categories( categories ) );
1307013070
}
1307113071

1307213072
// Slot that gets called when the project file was saved with an older

src/app/qgsappscreenshots.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ QScreen *QgsAppScreenShots::screen( QWidget *widget )
115115
return screen;
116116
}
117117

118-
void QgsAppScreenShots::takeScreenshots( Categories categories )
118+
void QgsAppScreenShots::takePicturesOf( Categories categories )
119119
{
120120
if ( !categories || categories.testFlag( VectorLayerProperties ) )
121121
takeVectorLayerProperties();

src/app/qgsappscreenshots.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class QgsAppScreenShots
5252
QgsAppScreenShots( const QString &saveDirectory );
5353

5454
//! if categories is null, then takes all categories
55-
void takeScreenshots( Categories categories = nullptr );
55+
void takePicturesOf( Categories categories = nullptr );
5656

5757
private:
5858
QScreen *screen( QWidget *widget = nullptr );

0 commit comments

Comments
 (0)