Skip to content

Commit

Permalink
rename takeScreenshots to takePicturesOf
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Oct 4, 2018
1 parent 6af8ea8 commit 2b4de28
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -13066,7 +13066,7 @@ void QgisApp::zoomToBookmarkIndex( const QModelIndex &index )
void QgisApp::takeAppScreenShots( const QString &saveDirectory, const int categories )
{
QgsAppScreenShots ass( saveDirectory );
ass.takeScreenshots( QgsAppScreenShots::Categories( categories ) );
ass.takePicturesOf( QgsAppScreenShots::Categories( categories ) );
}

// Slot that gets called when the project file was saved with an older
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsappscreenshots.cpp
Expand Up @@ -115,7 +115,7 @@ QScreen *QgsAppScreenShots::screen( QWidget *widget )
return screen;
}

void QgsAppScreenShots::takeScreenshots( Categories categories )
void QgsAppScreenShots::takePicturesOf( Categories categories )
{
if ( !categories || categories.testFlag( VectorLayerProperties ) )
takeVectorLayerProperties();
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsappscreenshots.h
Expand Up @@ -52,7 +52,7 @@ class QgsAppScreenShots
QgsAppScreenShots( const QString &saveDirectory );

//! if categories is null, then takes all categories
void takeScreenshots( Categories categories = nullptr );
void takePicturesOf( Categories categories = nullptr );

private:
QScreen *screen( QWidget *widget = nullptr );
Expand Down

0 comments on commit 2b4de28

Please sign in to comment.