Skip to content

Commit

Permalink
Add missing references
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 21, 2018
1 parent 96923c7 commit 757949b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Expand Up @@ -57,7 +57,7 @@ Returns the layout view utilized by the designer.
Returns the designer's message bar.
%End

virtual void selectItems( QList< QgsLayoutItem * > items ) = 0;
virtual void selectItems( const QList< QgsLayoutItem * > &items ) = 0;
%Docstring
Selects the specified ``items``.
%End
Expand Down
2 changes: 1 addition & 1 deletion src/app/layout/qgslayoutdesignerdialog.cpp
Expand Up @@ -120,7 +120,7 @@ QgsMessageBar *QgsAppLayoutDesignerInterface::messageBar()
return mDesigner->messageBar();
}

void QgsAppLayoutDesignerInterface::selectItems( const QList<QgsLayoutItem *> items )
void QgsAppLayoutDesignerInterface::selectItems( const QList<QgsLayoutItem *> &items )
{
mDesigner->selectItems( items );
}
Expand Down
2 changes: 1 addition & 1 deletion src/app/layout/qgslayoutdesignerdialog.h
Expand Up @@ -59,7 +59,7 @@ class QgsAppLayoutDesignerInterface : public QgsLayoutDesignerInterface
QgsMasterLayoutInterface *masterLayout() override;
QgsLayoutView *view() override;
QgsMessageBar *messageBar() override;
void selectItems( QList< QgsLayoutItem * > items ) override;
void selectItems( const QList< QgsLayoutItem * > &items ) override;

public slots:

Expand Down
2 changes: 1 addition & 1 deletion src/gui/layout/qgslayoutdesignerinterface.h
Expand Up @@ -76,7 +76,7 @@ class GUI_EXPORT QgsLayoutDesignerInterface: public QObject
/**
* Selects the specified \a items.
*/
virtual void selectItems( QList< QgsLayoutItem * > items ) = 0;
virtual void selectItems( const QList< QgsLayoutItem * > &items ) = 0;

public slots:

Expand Down

0 comments on commit 757949b

Please sign in to comment.